diff --git a/aleksis/apps/alsijil/frontend/index.js b/aleksis/apps/alsijil/frontend/index.js index d1f4bcc16b5defe71695e4f99574be55aa2e5195..c7cc473f95e134565a701d11e95afbed1dc6a7ba 100644 --- a/aleksis/apps/alsijil/frontend/index.js +++ b/aleksis/apps/alsijil/frontend/index.js @@ -4,6 +4,20 @@ import { } from "aleksis.core/routeValidators"; import { DateTime } from "luxon"; +export const collectionItems = { + coreGroupOverview: [ + { + tab: { + id: "alsijil.statistics", + titleKey: "group.tabs.statistics_tab", + }, + titleKey: "group.tabs.statistics", + component: () => + import("./components/coursebook/statistics/StatisticsForGroupTab.vue"), + }, + ], +}; + export default { meta: { inMenu: true, diff --git a/aleksis/apps/alsijil/frontend/messages/en.json b/aleksis/apps/alsijil/frontend/messages/en.json index 808126e52166aa25fca3ffa2e897b3e0322f0bfc..c9e36553c1c34208c231cb008a2632967ed2283b 100644 --- a/aleksis/apps/alsijil/frontend/messages/en.json +++ b/aleksis/apps/alsijil/frontend/messages/en.json @@ -92,5 +92,11 @@ }, "actions": { "back_to_overview": "Back to overview" + }, + "group": { + "tabs": { + "statistics": "Coursebook Statistics", + "statistics_tab": "Coursebook" + } } }