Skip to content
Snippets Groups Projects
Commit 4e59fa1c authored by Julian's avatar Julian
Browse files

Create PersonalNotes component and mixin

parent 46b67001
No related branches found
No related tags found
1 merge request!362Resolve "Add personal note management dialog in course book"
......@@ -8,11 +8,13 @@ import documentationPartMixin from "../documentation/documentationPartMixin";
import LessonInformation from "../documentation/LessonInformation.vue";
import { updateParticipationStatuses } from "./participationStatus.graphql";
import SlideIterator from "aleksis.core/components/generic/SlideIterator.vue";
import PersonalNotes from "../personal_notes/PersonalNotes.vue";
export default {
name: "ManageStudentsDialog",
extends: MobileFullscreenDialog,
components: {
PersonalNotes,
AbsenceReasonChip,
AbsenceReasonGroupSelect,
CancelButton,
......@@ -170,6 +172,13 @@ export default {
@input="sendToServer(item, 'absenceReason', $event)"
/>
</v-card-text>
<v-divider inset />
<v-card-text>
<personal-notes
v-bind="documentationPartProps"
:participation="item"
/>
</v-card-text>
</template>
</slide-iterator>
</template>
......
<script setup>
import SecondaryActionButton from "aleksis.core/components/generic/buttons/SecondaryActionButton.vue";
import ExtraMarksNote from "./ExtraMarksNote.vue";
import NoteNote from "./NoteNote.vue";
</script>
<script>
import personalNoteRelatedMixin from "./personalNoteRelatedMixin";
export default {
name: "PersonalNotes",
mixins: [personalNoteRelatedMixin],
};
</script>
<template>
<div>
</div>
</template>
<style scoped></style>
import documentationPartMixin from "../documentation/documentationPartMixin";
export default {
mixins: [documentationPartMixin],
props: {
participation: {
type: Object,
required: true,
},
},
computed: {
personalNoteRelatedProps() {
return {
...this.documentationPartProps,
participation: this.participation,
};
},
},
};
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