Skip to content
Snippets Groups Projects
Commit 33e06815 authored by permcu's avatar permcu
Browse files

Add StatisticsForPersonCard-component and its subcomponents

parent a1a65655
No related branches found
No related tags found
1 merge request!361Resolve "Add statistics page for absences"
<template>
<v-card>
</v-card>
</template>
<script>
export default {
name: "StatisticsAbsencesCard",
};
</script>
<template>
<v-card>
</v-card>
</template>
<script>
export default {
name: "StatisticsExtraMarksCard",
};
</script>
<template>
<v-card>
<v-card-title v-if="compact">
{{ $t("alsijil.coursebook.statistics.person_compact.title") }}
<v-spacer />
<!-- TODO: Maximize button -->
</v-card-title>
<v-card-title v-else>
{{ $t("alsijil.coursebook.statistics.person_page.title") }}
</v-card-title>
<statistics-absences-card />
<statistics-tardiness-card />
<statistics-extra-marks-card />
<statistics-personal-notes-list
v-if="compact"
/>
</v-card>
</template>
<script>
import personOverviewCardMixin from "aleksis.core/mixins/personOverviewCardMixin.js";
import StatisticsAbsencesCard from "./StatisticsAbsencesCard.vue";
import StatisticsTardinessCard from "./StatisticsTardinessCard.vue";
import StatisticsExtraMarksCard from "./StatisticsExtraMarksCard.vue";
import StatisticsPersonalNotesList from "./StatisticsPersonalNotesList.vue";
export default {
name: "StatisticsForPersonCard",
mixins: [personOverviewCardMixin],
components: {
StatisticsAbsencesCard,
StatisticsTardinessCard,
StatisticsExtraMarksCard,
StatisticsPersonalNotesList,
},
props: {
compact: {
type: Boolean,
required: false,
default: true,
},
},
};
</script>
<template>
<v-card>
</v-card>
</template>
<script>
export default {
name: "StatisticsPersonalNotesList",
};
</script>
<template>
<v-card>
</v-card>
</template>
<script>
export default {
name: "StatisticsTardinessCard",
};
</script>
......@@ -49,6 +49,14 @@
}
}
},
"statistics": {
"person_compact": {
"title": "Kursbuch · Statistiken"
},
"person_page": {
"title": "Statistiken"
}
},
"title_plural": "Kursbuch"
},
"excuse_types": {
......
......@@ -75,7 +75,15 @@
"filter_for_obj": "Filter for group and course"
},
"no_data": "No lessons for the selected groups and courses in this period",
"no_results": "No search results for {search}"
"no_results": "No search results for {search}",
"statistics": {
"person_compact": {
"title": "Coursebook · Statistics"
},
"person_page": {
"title": "Statistics"
}
}
}
}
}
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