Add support for other substitution types

- Store and display original substitution type text
- Treat "eigenverantwortliches Arbeiten" as cancellation
This commit is contained in:
2023-08-27 18:00:09 +02:00
parent 2895efc43b
commit 0cb55eaf68
6 changed files with 33 additions and 15 deletions

View File

@ -130,6 +130,9 @@ function getTime(index) {
>, {{ $t("timetable.notes") }} {{ getNotes(lesson.substitution) }}
</span>
</div>
<span class="info type" v-if="lesson.substitution">
<i>{{ lesson.substitution.rawType }}</i>
</span>
</div>
<div class="times" v-if="getTime(index).start && !edit">
<span>{{ getTime(index).start }} -</span>