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

Implement subject-field

parent 73865250
No related branches found
No related tags found
1 merge request!373Resolve "Substitutions table for new data model"
......@@ -50,6 +50,16 @@ import CRUDList from "aleksis.core/components/generic/CRUDList.vue";
v-for="t in oldTeachers"
> {{ t.shortName || t.fullName }} </span>
</template>
<template #subject="{ item: { oldSubject, newSubject } }">
<span v-if="oldSubject === 'SUPERVISION'">
TODO i18n supervision
</span>
<span v-else-if="newSubject">
<strike> {{ oldSubject }} </strike>
<span> &nbsp;&nbsp </span>
<b> {{ newSubject }} </b>
</span>
<span v-else> {{ oldSubject }} </span>
</template>
</c-r-u-d-list>
</template>
......
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