Anpassungen nach Kommentar Dario

This commit is contained in:
Daniel Egger 2024-09-23 18:25:35 +02:00
parent a2b3d63d6d
commit 804551b14b
2 changed files with 16 additions and 14 deletions

View File

@ -104,7 +104,7 @@ async function startEvaluation() {
</p>
<p v-if="props.dueDate" class="my-4" data-cy="evaluation-duedate">
{{ "a.Freigabetermin Bewertung" }}: {{ props.dueDate.format("DD.MM.YYYY") }}
{{ $t("a.Freigabetermin Bewertung") }}: {{ props.dueDate.format("DD.MM.YYYY") }}
{{ props.dueDate.format("HH.mm") }}
</p>

View File

@ -252,7 +252,7 @@ const showPassed = computed(() => {
</div>
<p v-if="props.dueDate" class="my-4" data-cy="evaluation-duedate">
{{ "a.Freigabetermin Bewertung" }}: {{ props.dueDate.format("DD.MM.YYYY") }}
{{ $t("a.Freigabetermin Bewertung") }}: {{ props.dueDate.format("DD.MM.YYYY") }}
{{ props.dueDate.format("HH.mm") }}
</p>
@ -265,18 +265,6 @@ const showPassed = computed(() => {
{{ $t("a.assignment.evaluationFeedbackDescriptionText") }}
</p>
<section>
<div
v-for="historyEntry in props.assignmentCompletion.additional_json_data
?.submission_history ?? []"
:key="historyEntry.timestamp"
>
{{ dayjs(historyEntry.timestamp).format("DD.MM.YYYY HH.mm") }}:
{{ $t(historyEntry.translation_key) }}
({{ historyEntry.user_display_name }})
</div>
</section>
<div
v-if="props.assignmentCompletion.completion_status !== 'EVALUATION_SUBMITTED'"
class="mt-8"
@ -297,6 +285,8 @@ const showPassed = computed(() => {
></ItTextarea>
</div>
<div v-else-if="evaluationComment" class="mt-4">
{{ $t("a.Kommentar") }}:
<br />
{{ evaluationComment }}
</div>
@ -310,6 +300,18 @@ const showPassed = computed(() => {
"
></ItSuccessAlert>
</div>
<section class="mt-4">
<div
v-for="historyEntry in props.assignmentCompletion.additional_json_data
?.submission_history ?? []"
:key="historyEntry.timestamp"
>
{{ dayjs(historyEntry.timestamp).format("DD.MM.YYYY HH.mm") }}:
{{ $t(historyEntry.translation_key) }}
({{ historyEntry.user_display_name }})
</div>
</section>
</section>
<section>