Skip to content
Snippets Groups Projects
Commit 60a6fe08 authored by Julian's avatar Julian
Browse files

Fix lint in coursebook

parent a5dd17ea
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 #179298 failed
<template> <template>
<v-tooltip bottom> <v-tooltip bottom>
<template v-slot:activator="{ on, attrs }"> <template #activator="{ on, attrs }">
<v-icon <v-icon
:color="currentStatus?.color" :color="currentStatus?.color"
class="mr-md-4" class="mr-md-4"
......
...@@ -35,6 +35,7 @@ import PersonChip from "aleksis.core/components/person/PersonChip.vue"; ...@@ -35,6 +35,7 @@ import PersonChip from "aleksis.core/components/person/PersonChip.vue";
<div :class="{ 'd-flex align-center flex-wrap gap': true }"> <div :class="{ 'd-flex align-center flex-wrap gap': true }">
<person-chip <person-chip
v-for="teacher in documentation.teachers" v-for="teacher in documentation.teachers"
:key="documentation.id + '-teacher-' + teacher.id"
:person="teacher" :person="teacher"
no-link no-link
v-bind="compact ? dialogActivator.attrs : {}" v-bind="compact ? dialogActivator.attrs : {}"
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
<div <div
class="d-flex align-center justify-space-between justify-md-end flex-wrap gap" class="d-flex align-center justify-space-between justify-md-end flex-wrap gap"
> >
<!-- eslint-disable @intlify/vue-i18n/no-raw-text -->
<v-chip dense color="success"> <v-chip dense color="success">
<v-chip small dense class="mr-2" color="green darken-3 white--text" <v-chip small dense class="mr-2" color="green darken-3 white--text"
>26</v-chip >26</v-chip
...@@ -29,6 +30,7 @@ ...@@ -29,6 +30,7 @@
<v-chip dense color="primary" outlined> <v-chip dense color="primary" outlined>
<v-icon>$edit</v-icon> <v-icon>$edit</v-icon>
</v-chip> </v-chip>
<!-- eslint-enable @intlify/vue-i18n/no-raw-text -->
</div> </div>
</template> </template>
......
...@@ -394,7 +394,7 @@ export default { ...@@ -394,7 +394,7 @@ export default {
{ {
path: "coursebook/", path: "coursebook/",
component: () => import("./components/coursebook/Coursebook.vue"), component: () => import("./components/coursebook/Coursebook.vue"),
redirect: (to) => { redirect: () => {
return { return {
name: "alsijil.coursebook_by_type_and_date", name: "alsijil.coursebook_by_type_and_date",
params: { params: {
......
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