diff --git a/client/src/components/dueDates/DueDatesList.vue b/client/src/components/dueDates/DueDatesList.vue index 4ba57f1f..5b02c6a6 100644 --- a/client/src/components/dueDates/DueDatesList.vue +++ b/client/src/components/dueDates/DueDatesList.vue @@ -7,6 +7,8 @@ const props = defineProps<{ maxCount: number; dueDates: DueDate[]; showTopBorder: boolean; + showBottomBorder: boolean; + showAllDueDatesLink: boolean; }>(); const allDueDates = computed(() => { @@ -20,7 +22,7 @@ const dueDatesDisplayed = computed(() => { + + diff --git a/client/src/components/dueDates/DueDatesShortList.vue b/client/src/components/dueDates/DueDatesShortList.vue index 752206e6..166a4d40 100644 --- a/client/src/components/dueDates/DueDatesShortList.vue +++ b/client/src/components/dueDates/DueDatesShortList.vue @@ -4,6 +4,8 @@ :due-dates="allDueDates" :max-count="props.maxCount" :show-top-border="props.showTopBorder" + show-all-due-dates-link + show-bottom-border > diff --git a/client/src/components/header/MainNavigationBar.vue b/client/src/components/header/MainNavigationBar.vue index e58a89a6..c95e586e 100644 --- a/client/src/components/header/MainNavigationBar.vue +++ b/client/src/components/header/MainNavigationBar.vue @@ -174,16 +174,6 @@ onMounted(() => {
- - - - { + + + +
- -
- {{ $t("dueDates.noDueDatesAvailable") }} -
+ +
diff --git a/client/src/pages/DashboardPage.vue b/client/src/pages/DashboardPage.vue index 4a2b8523..e08ff039 100644 --- a/client/src/pages/DashboardPage.vue +++ b/client/src/pages/DashboardPage.vue @@ -71,6 +71,8 @@ const getNextStepLink = (courseSession: CourseSession) => { :due-dates="allDueDates" :max-count="13" :show-top-border="false" + :show-all-due-dates-link="true" + :show-bottom-border="true" >