Skip to content
Snippets Groups Projects
Verified Commit 7b1ce3c4 authored by permcu's avatar permcu Committed by Jonathan Weth
Browse files

Add header with affected teachers & groups

parent eaa85381
No related branches found
No related tags found
1 merge request!373Resolve "Substitutions table for new data model"
......@@ -13,6 +13,21 @@ import CRUDList from "aleksis.core/components/generic/CRUDList.vue";
:enable-create="false"
:enable-edit="false"
>
<template #title>
<!-- TODO: 18n -->
<v-container>
<v-row>
<v-col> Betroffene Lehrkräfte </v-col>
<v-col> {{ affectedTeachers.map(t => t.shortName || t.fullName).join(', ') }} </v-col>
<v-spacer/>
</v-row>
<v-row>
<v-col> Betroffene Gruppen </v-col>
<v-col> {{ affectedGroups.map(g => g.shortName).join(', ') }} </v-col>
<v-spacer/>
</v-row>
</v-container>
</template>
<!-- TODO: Component for strike -> bold || normal -->
<template #groups="{ item: { oldGroups, newGroups } }">
<span v-if="newGroups.length > 0">
......
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