From a50def379e2dbe19f48959c99ae1ef513349bd62 Mon Sep 17 00:00:00 2001 From: Aurora Virmasalo <93916893+VirmasaloA@users.noreply.github.com> Date: Thu, 20 Jun 2024 08:45:40 +0300 Subject: [PATCH] CSCEXAM-693 Add progress text to exam review list Co-authored-by: Matti Lupari --- .../listing/categories/in-progress.component.html | 10 +++++++++- ui/src/app/review/listing/speed-review.component.html | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/ui/src/app/review/listing/categories/in-progress.component.html b/ui/src/app/review/listing/categories/in-progress.component.html index 7b2686ae9..674faf17d 100644 --- a/ui/src/app/review/listing/categories/in-progress.component.html +++ b/ui/src/app/review/listing/categories/in-progress.component.html @@ -107,7 +107,7 @@ (click)="setPredicate('examParticipation.deadline')" > - {{ 'i18n_inspection_status' | translate }} + {{ 'i18n_grading_inspector' | translate }} {{ 'i18n_exam_state' | translate }} @@ -188,6 +188,14 @@ {{ inspection.user.firstName }} {{ inspection.user.lastName }} + + @if (inspection.ready) { + ({{ 'i18n_ready' | translate }}) + } + @if (!inspection.ready) { + ({{ 'i18n_in_progress' | translate }}) + } + } } diff --git a/ui/src/app/review/listing/speed-review.component.html b/ui/src/app/review/listing/speed-review.component.html index f1b28bb21..e7bfbea56 100644 --- a/ui/src/app/review/listing/speed-review.component.html +++ b/ui/src/app/review/listing/speed-review.component.html @@ -55,7 +55,7 @@ (click)="setPredicate('examParticipation.deadline')" > - {{ 'i18n_inspection_status' | translate }} + {{ 'i18n_grading_inspector' | translate }} {{ 'i18n_exam_state' | translate }} {{ 'i18n_total_score' | translate }} {{ 'i18n_grade' | translate }} @@ -108,6 +108,14 @@ > {{ inspection.user.firstName }} {{ inspection.user.lastName }} + + @if (inspection.ready) { + ({{ 'i18n_ready' | translate }}) + } + @if (!inspection.ready) { + ({{ 'i18n_in_progress' | translate }}) + } + }