diff --git a/src/main/webapp/app/exam/participate/exercises/exercise-overview-page/exam-exercise-overview-page.component.html b/src/main/webapp/app/exam/participate/exercises/exercise-overview-page/exam-exercise-overview-page.component.html index e0931435bbfd..088d0de19f65 100644 --- a/src/main/webapp/app/exam/participate/exercises/exercise-overview-page/exam-exercise-overview-page.component.html +++ b/src/main/webapp/app/exam/participate/exercises/exercise-overview-page/exam-exercise-overview-page.component.html @@ -1,62 +1,52 @@ -

- - {{ 'artemisApp.studentExamDetail.overview' | artemisTranslate }} - +

+


-
+
- - - - - @for (item of examExerciseOverviewItems; track item; let i = $index) { - - - - -
+ # - - {{ 'artemisApp.examParticipation.exerciseType' | artemisTranslate }} - + + - - {{ 'artemisApp.examParticipation.exerciseName' | artemisTranslate }} - + + - - {{ 'artemisApp.examParticipation.exercisePoints' | artemisTranslate }} - + + - - {{ 'artemisApp.examParticipation.examStatus' | artemisTranslate }} - + +
+ {{ i + 1 }} +
+ {{ item.exercise.exerciseGroup?.title }} + {{ item.exercise.maxPoints }} -
+
+
@@ -70,6 +60,7 @@

) { (); /** * @property personalParticipation Whether the participation belongs to the user (by being a student) or not (by being an instructor) */ @@ -66,6 +67,10 @@ export class UpdatingResultComponent implements OnChanges, OnDestroy { if (this.exercise?.type === ExerciseType.PROGRAMMING) { this.subscribeForNewSubmissions(); } + + if (this.result) { + this.showResult.emit(); + } } } @@ -101,6 +106,9 @@ export class UpdatingResultComponent implements OnChanges, OnDestroy { tap((result) => { this.result = result; this.onParticipationChange.emit(); + if (result) { + this.showResult.emit(); + } }), ) .subscribe();