Skip to content

Commit 85c6b41

Browse files
committed
CSCEXAM-1356: Update teacher dashboard column headers
1 parent bca3c93 commit 85c6b41

File tree

5 files changed

+25
-15
lines changed

5 files changed

+25
-15
lines changed

ui/src/app/dashboard/staff/teacher/categories/exam-list-category.component.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,14 @@
2828
[reverse]="sorting.reverse"
2929
[predicate]="sorting.predicate"
3030
by="name"
31-
text="i18n_exam_name"
31+
text="i18n_dashboard_exam"
3232
(click)="setPredicate('name')"
3333
></xm-table-sort>
3434
</th>
3535
<th class="with-top">
3636
<xm-table-sort
3737
by="course.code"
38-
text="i18n_course_code"
39-
[sliced]="true"
38+
text="i18n_dashboard_code"
4039
[predicate]="sorting.predicate"
4140
[reverse]="sorting.reverse"
4241
(click)="setPredicate('course.code')"
@@ -54,7 +53,7 @@
5453
<th class="with-top">
5554
<xm-table-sort
5655
by="periodEnd"
57-
text="i18n_exam_validity"
56+
text="i18n_dashboard_period"
5857
[predicate]="sorting.predicate"
5958
[reverse]="sorting.reverse"
6059
(click)="setPredicate('periodEnd')"

ui/src/app/dashboard/staff/teacher/teacher-dashboard.component.ts

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,16 @@ export class TeacherDashboardComponent implements OnInit {
6363
constructor() {
6464
this.activeExtraData = [
6565
{
66-
text: 'i18n_participation_unreviewed',
66+
text: 'i18n_dashboard_submissions',
6767
property: 'unassessedCount',
6868
link: ['/staff/exams', '__', '5'],
6969
checkOwnership: false,
70-
sliced: true,
7170
},
7271
{
73-
text: 'i18n_participation_unfinished',
72+
text: 'i18n_dashboard_to_lock',
7473
property: 'unfinishedCount',
7574
link: ['/staff/exams', '__', '5'],
7675
checkOwnership: false,
77-
sliced: true,
7876
},
7977
{
8078
text: 'i18n_dashboard_title_waiting_reservation',
@@ -85,18 +83,16 @@ export class TeacherDashboardComponent implements OnInit {
8583
];
8684
this.finishedExtraData = [
8785
{
88-
text: 'i18n_participation_unreviewed',
86+
text: 'i18n_dashboard_submissions',
8987
property: 'unassessedCount',
9088
link: ['/staff/exams', '__', '5'],
9189
checkOwnership: false,
92-
sliced: true,
9390
},
9491
{
95-
text: 'i18n_participation_unfinished',
92+
text: 'i18n_dashboard_to_lock',
9693
property: 'unfinishedCount',
9794
link: ['/staff/exams', '__', '5'],
9895
checkOwnership: false,
99-
sliced: true,
10096
},
10197
];
10298
this.archivedExtraData = [

ui/src/assets/i18n/en.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1129,5 +1129,10 @@
11291129
"i18n_password_required": "Salasana on pakollinen EN",
11301130
"i18n_exam_period_start_ascending": "Exam period starts (earliest first) EN",
11311131
"i18n_exam_period_end_ascending": "Exam period ends (earliest first) EN",
1132-
"i18n_confirm_remove_attachment": "Do you want to remove the attachment file? EN"
1132+
"i18n_confirm_remove_attachment": "Do you want to remove the attachment file? EN",
1133+
"i18n_dashboard_exam": "Exam EN",
1134+
"i18n_dashboard_code": "Code EN",
1135+
"i18n_dashboard_period": "Period EN",
1136+
"i18n_dashboard_submissions": "Submissions EN",
1137+
"i18n_dashboard_to_lock": "To lock EN"
11331138
}

ui/src/assets/i18n/fi.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1129,5 +1129,10 @@
11291129
"i18n_password_required": "Salasana on pakollinen",
11301130
"i18n_exam_period_start_ascending": "Tenttiperiodi alkaa (aikaisin ensin)",
11311131
"i18n_exam_period_end_ascending": "Tenttiperiodi päättyy (aikaisin ensin)",
1132-
"i18n_confirm_remove_attachment": "Haluatko poistaa liitetiedoston?"
1132+
"i18n_confirm_remove_attachment": "Haluatko poistaa liitetiedoston?",
1133+
"i18n_dashboard_exam": "Tentti",
1134+
"i18n_dashboard_code": "Koodi",
1135+
"i18n_dashboard_period": "Periodi",
1136+
"i18n_dashboard_submissions": "Palautukset",
1137+
"i18n_dashboard_to_lock": "Lukittavat"
11331138
}

ui/src/assets/i18n/sv.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1129,5 +1129,10 @@
11291129
"i18n_password_required": "Salasana on pakollinen SV",
11301130
"i18n_exam_period_start_ascending": "Tenttperiod börjar (tidigast först) SV",
11311131
"i18n_exam_period_end_ascending": "Tenttperiod slutar (tidigast först) SV",
1132-
"i18n_confirm_remove_attachment": "Vill du ta bort bilagans fil? SV"
1132+
"i18n_confirm_remove_attachment": "Vill du ta bort bilagans fil? SV",
1133+
"i18n_dashboard_exam": "Tentamen SV",
1134+
"i18n_dashboard_code": "Kod SV",
1135+
"i18n_dashboard_period": "Period SV",
1136+
"i18n_dashboard_submissions": "Inlämningar SV",
1137+
"i18n_dashboard_to_lock": "Att låsa SV"
11331138
}

0 commit comments

Comments
 (0)