Skip to content
Snippets Groups Projects
Verified Commit ffdf582e authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Reformat

parent d1a71be8
No related branches found
No related tags found
1 merge request!363Resolve "Add absence overview page"
......@@ -75,7 +75,9 @@
<template #no-results>
<CoursebookEmptyMessage icon="mdi-book-alert-outline">
{{
$t("alsijil.coursebook.no_results", { search: $refs.iterator.search })
$t("alsijil.coursebook.no_results", {
search: $refs.iterator.search,
})
}}
</CoursebookEmptyMessage>
</template>
......@@ -101,7 +103,6 @@ import { extraMarks } from "../extra_marks/extra_marks.graphql";
import DocumentationLoader from "./documentation/DocumentationLoader.vue";
import sendToServerMixin from "./absences/sendToServerMixin";
export default {
name: "Coursebook",
components: {
......@@ -237,7 +238,10 @@ export default {
// might skip query until both set = atomic
if (Object.hasOwn(selectedFilters, "pageType")) {
this.absencesExist = true;
this.$setToolBarTitle(this.$t(`alsijil.coursebook.title_${selectedFilters.pageType}`), null);
this.$setToolBarTitle(
this.$t(`alsijil.coursebook.title_${selectedFilters.pageType}`),
null,
);
}
}
},
......@@ -276,7 +280,10 @@ export default {
},
},
mounted() {
this.$setToolBarTitle(this.$t(`alsijil.coursebook.title_${this.pageType}`), null);
this.$setToolBarTitle(
this.$t(`alsijil.coursebook.title_${this.pageType}`),
null,
);
},
};
</script>
......
<template>
<div class="d-flex flex-column flex-sm-row flex-nowrap flex-grow-1 justify-end gap align-stretch">
<div
class="d-flex flex-column flex-sm-row flex-nowrap flex-grow-1 justify-end gap align-stretch"
>
<v-autocomplete
:items="selectable"
item-text="name"
......
......@@ -32,9 +32,7 @@ import AbsenceReasonGroupSelect from "aleksis.apps.kolego/components/AbsenceReas
@input="sendToServer([participation], 'absenceReason', $event)"
/>
</v-list-item-content>
<v-list-item-action
v-if="participation.absenceReason && compact"
>
<v-list-item-action v-if="participation.absenceReason && compact">
<absence-reason-group-select
allow-empty
empty-value="present"
......
......@@ -13,7 +13,11 @@
</template>
<!-- dialog view -> deactivate dialog -->
<!-- cancel | save (through lesson-summary) -->
<documentation v-bind="$attrs" :extra-marks="extraMarks" @close="popup = false" />
<documentation
v-bind="$attrs"
:extra-marks="extraMarks"
@close="popup = false"
/>
</mobile-fullscreen-dialog>
</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