Skip to content
Snippets Groups Projects
Commit dbe9c4c0 authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Add labels

parent 3e1f445e
No related branches found
No related tags found
1 merge request!329Introduce substitution to do list
......@@ -31,6 +31,7 @@ import createOrPatchMixin from "aleksis.core/mixins/createOrPatchMixin.js";
hide-details
:value="subject"
:disabled="loading"
:label="$t('chronos.substitutions.overview.subject.label')"
@input="subjectInput"
/>
......@@ -46,6 +47,7 @@ import createOrPatchMixin from "aleksis.core/mixins/createOrPatchMixin.js";
item-text="name"
item-value="id"
:disabled="loading"
:label="$t('chronos.substitutions.overview.rooms.label')"
@input="roomsInput"
>
<template #prepend-inner>
......@@ -103,6 +105,7 @@ import createOrPatchMixin from "aleksis.core/mixins/createOrPatchMixin.js";
hide-details
outlined
:disabled="loading"
:label="$t('chronos.substitutions.overview.teacher.label')"
@input="teachersInput"
>
<template #prepend-inner>
......
......@@ -65,12 +65,19 @@
"cancelled": "Cancelled"
},
"teacher": {
"label": "Teachers",
"status": {
"absent": "Absent",
"regular": "Regular",
"new": "Substitution teacher"
}
},
"rooms": {
"label": "Rooms"
},
"subject": {
"label": "Subject"
},
"comment": "Comment"
}
}
......
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