Skip to content
Snippets Groups Projects
Commit 1fcc0d63 authored by Julian's avatar Julian
Browse files

Open documentation dialog when clicking on teachers or subjects

parent 2a97ee0b
No related branches found
No related tags found
2 merge requests!352Draft: Resolve "Add dialog with each lesson's students",!350Resolve "Add simple course book list"
Pipeline #177275 failed
......@@ -19,12 +19,20 @@ import PersonChip from "aleksis.core/components/person/PersonChip.vue";
{{ documentation.course?.name }}
</span>
<div :class="{ 'd-flex align-center flex-wrap gap': true, 'justify-center': largeGrid }">
<person-chip v-for="teacher in documentation.teachers" :person="teacher" />
<person-chip
v-for="teacher in documentation.teachers"
:person="teacher"
no-link
v-bind="compact ? dialogActivator.attrs : {}"
v-on="compact ? dialogActivator.on : {}"
/>
</div>
<subject-chip
v-if="documentation.subject"
:subject="documentation.subject"
class="subject"
v-bind="compact ? dialogActivator.attrs : {}"
v-on="compact ? dialogActivator.on : {}"
/>
</div>
</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