Add timetable group feature

This commit is contained in:
2022-06-13 00:28:43 +02:00
parent cc56c7ae7c
commit 813c936c4f
3 changed files with 73 additions and 7 deletions

View File

@ -69,12 +69,14 @@ function isCancelled(substitution) {
<s>{{ lesson.teacher }}</s>
{{ lesson.substitution.change.teacher }},
</span>
<span class="info" v-else> {{ lesson.teacher }}, </span>
<span class="info" v-else> {{ lesson.teacher }}</span>
<!-- Room changed -->
<span class="info" v-if="isChanged(lesson, 'room')">
<s>{{ lesson.room }}</s> {{ lesson.substitution.change.room }}
</span>
<span class="info" v-else>{{ lesson.room }}</span>
<span class="info" v-else-if="lesson.room"
>, {{ lesson.room }}</span
>
<!-- Show notes if available -->
<span class="info" v-if="getNotes(lesson.substitution)"
>, Notes: {{ getNotes(lesson.substitution) }}