Skip to content
Snippets Groups Projects
Verified Commit db7587f1 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Remove impossible condition branch

parent 9f32e64e
No related branches found
No related tags found
1 merge request!402Resolve "Wording "No homework" isn't optimal as students might think that there are no homework although they are entered later"
Pipeline #192360 failed
......@@ -4,21 +4,21 @@
<div class="font-weight-medium mr-2">
{{ $t("alsijil.coursebook.summary.topic.label") }}:
</div>
<div class="text-truncate">{{ documentation.topic || "" }}</div>
<div class="text-truncate">{{ documentation.topic }}</div>
</template>
<template v-if="documentation.homework">
<div class="font-weight-medium mr-2">
{{ $t("alsijil.coursebook.summary.homework.label") }}:
</div>
<div class="text-truncate">{{ documentation.homework || "" }}</div>
<div class="text-truncate">{{ documentation.homework }}</div>
</template>
<template v-if="documentation.groupNote">
<div class="font-weight-medium mr-2">
{{ $t("alsijil.coursebook.summary.group_note.label") }}:
</div>
<div class="text-truncate">{{ documentation.groupNote || "" }}</div>
<div class="text-truncate">{{ documentation.groupNote }}</div>
</template>
</v-card>
</template>
......
......@@ -11,7 +11,10 @@
{{ $t("alsijil.coursebook.summary.homework.label") }}
</v-card-title>
<v-card-text>
{{ documentation.homework || $t("alsijil.coursebook.summary.homework.empty_yet") }}
{{
documentation.homework ||
$t("alsijil.coursebook.summary.homework.empty_yet")
}}
</v-card-text>
</v-card>
<v-card outlined dense rounded="lg">
......@@ -19,7 +22,10 @@
{{ $t("alsijil.coursebook.summary.group_note.label") }}
</v-card-title>
<v-card-text>
{{ documentation.groupNote || $t("alsijil.coursebook.summary.group_note.empty") }}
{{
documentation.groupNote ||
$t("alsijil.coursebook.summary.group_note.empty")
}}
</v-card-text>
</v-card>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment