mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-05 21:12:52 +00:00
refactor: app config menu structure
This commit is contained in:
@@ -114,20 +114,20 @@ const config: Partial<SCConfigFile> = {
|
||||
app: {
|
||||
aboutPages: {
|
||||
'about': {
|
||||
title: 'Über das StApps Projekt',
|
||||
title: 'Über das Open StApps Projekt',
|
||||
content: [
|
||||
{
|
||||
title: 'Verbundprojekt mehrerer Hochschulen für eine generische Studierenden-App',
|
||||
content: {
|
||||
type: SCAboutPageContentType.MARKDOWN,
|
||||
value: `
|
||||
StApps bietet Studierenden aller beteiligten Hochschulen eine qualitativ
|
||||
hochwertige App für den Studienalltag. StApps-Verbundpartner integrieren
|
||||
Open StApps bietet Studierenden aller beteiligten Hochschulen eine qualitativ
|
||||
hochwertige App für den Studienalltag. Open StApps-Verbundpartner integrieren
|
||||
generalisierbare Studierendenprozesse so in App-Module, dass diese auch
|
||||
von anderen Hochschulen verwendet werden können. Die zur StApps-App ankommenden
|
||||
Daten einer Datenquelle einer Art sind in einem generalisierten Datenmodell
|
||||
so aufbereitet, dass ein Austausch der Datenquelle problemlos möglich ist und
|
||||
die StApps-App problemlos weiterhin funktionsfähig bleibt.
|
||||
von anderen Hochschulen verwendet werden können. Die in der Open StApps-App
|
||||
verwendeten Daten einer Datenquelle sind in einem generalisierten Datenmodell
|
||||
so aufbereitet, dass ein Austausch oder Abschaltung der Datenquelle problemlos möglich
|
||||
ist und die Open StApps-App problemlos weiterhin funktionsfähig bleibt.
|
||||
`,
|
||||
translations: {
|
||||
en: {
|
||||
@@ -362,9 +362,7 @@ const config: Partial<SCConfigFile> = {
|
||||
},
|
||||
menus: [
|
||||
{
|
||||
// unused
|
||||
icon: 'menu',
|
||||
id: 'main',
|
||||
icon: 'home',
|
||||
items: [
|
||||
{
|
||||
icon: 'newspaper',
|
||||
@@ -392,32 +390,6 @@ const config: Partial<SCConfigFile> = {
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
icon: 'calendar_month',
|
||||
route: '/schedule',
|
||||
title: 'schedule',
|
||||
translations: {
|
||||
de: {
|
||||
title: 'Stundenplan',
|
||||
},
|
||||
en: {
|
||||
title: 'schedule',
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
icon: 'local_cafe',
|
||||
route: '/canteen',
|
||||
title: 'canteen',
|
||||
translations: {
|
||||
de: {
|
||||
title: 'Mensa',
|
||||
},
|
||||
en: {
|
||||
title: 'canteen',
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
icon: 'local_library',
|
||||
route: '/hebis-search',
|
||||
@@ -444,65 +416,51 @@ const config: Partial<SCConfigFile> = {
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
icon: 'map',
|
||||
route: '/map',
|
||||
title: 'campus map',
|
||||
translations: {
|
||||
de: {
|
||||
title: 'Campus Karte',
|
||||
},
|
||||
en: {
|
||||
title: 'campus map',
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
name: 'main menu',
|
||||
title: 'home',
|
||||
route: '/dashboard',
|
||||
translations: {
|
||||
de: {
|
||||
name: 'Hauptmenü',
|
||||
title: 'Home',
|
||||
},
|
||||
en: {
|
||||
name: 'main menu',
|
||||
title: 'home',
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
// unused
|
||||
icon: 'account_circle',
|
||||
id: 'personal',
|
||||
icon: 'local_cafe',
|
||||
items: [],
|
||||
route: '/canteen',
|
||||
title: 'canteen',
|
||||
translations: {
|
||||
de: {
|
||||
title: 'Mensa',
|
||||
},
|
||||
en: {
|
||||
title: 'canteen',
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
icon: 'map',
|
||||
items: [],
|
||||
route: '/map',
|
||||
title: 'campus map',
|
||||
translations: {
|
||||
de: {
|
||||
title: 'Campus Karte',
|
||||
},
|
||||
en: {
|
||||
title: 'campus map',
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
icon: 'school',
|
||||
items: [
|
||||
{
|
||||
authProvider: 'paia',
|
||||
icon: 'account_circle',
|
||||
route: '/library-account',
|
||||
title: 'library account',
|
||||
translations: {
|
||||
de: {
|
||||
title: 'Bibliothekskonto',
|
||||
},
|
||||
en: {
|
||||
title: 'library account',
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
authProvider: 'default',
|
||||
icon: 'task',
|
||||
route: '/assessments',
|
||||
title: 'summary of grades',
|
||||
translations: {
|
||||
de: {
|
||||
title: 'Notenspiegel',
|
||||
},
|
||||
en: {
|
||||
title: 'summary of grades',
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
icon: 'star',
|
||||
icon: 'grade',
|
||||
route: '/favorites',
|
||||
title: 'favorites',
|
||||
translations: {
|
||||
@@ -515,15 +473,29 @@ const config: Partial<SCConfigFile> = {
|
||||
},
|
||||
},
|
||||
{
|
||||
icon: 'account_circle',
|
||||
route: '/profile',
|
||||
title: 'profile',
|
||||
icon: 'calendar_month',
|
||||
route: '/schedule',
|
||||
title: 'schedule',
|
||||
translations: {
|
||||
de: {
|
||||
title: 'Profil',
|
||||
title: 'Stundenplan',
|
||||
},
|
||||
en: {
|
||||
title: 'profile',
|
||||
title: 'schedule',
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
authProvider: 'paia',
|
||||
icon: 'account_circle',
|
||||
route: '/library-account',
|
||||
title: 'library account',
|
||||
translations: {
|
||||
de: {
|
||||
title: 'Bibliothekskonto',
|
||||
},
|
||||
en: {
|
||||
title: 'library account',
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -540,19 +512,6 @@ const config: Partial<SCConfigFile> = {
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
icon: 'info',
|
||||
route: '/about',
|
||||
title: 'about',
|
||||
translations: {
|
||||
de: {
|
||||
title: 'Über StApps',
|
||||
},
|
||||
en: {
|
||||
title: 'About StApps',
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
icon: 'rate_review',
|
||||
route: '/feedback',
|
||||
@@ -566,14 +525,28 @@ const config: Partial<SCConfigFile> = {
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
icon: 'info',
|
||||
route: '/about',
|
||||
title: 'about',
|
||||
translations: {
|
||||
de: {
|
||||
title: 'Über Open StApps',
|
||||
},
|
||||
en: {
|
||||
title: 'About Open StApps',
|
||||
},
|
||||
},
|
||||
},
|
||||
],
|
||||
name: 'Your Study-App',
|
||||
title: 'study',
|
||||
route: '/profile',
|
||||
translations: {
|
||||
de: {
|
||||
name: 'Deine Studi-App',
|
||||
title: 'Studium',
|
||||
},
|
||||
en: {
|
||||
name: 'Your Study-App',
|
||||
title: 'study',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user