fix(03): add module settings page, dynamic sidebar categories

- Admin modules page at /admin/modules with toggle switches
- Sidebar categories now fetch active modules from API dynamically
- Added "Module" link under admin section in sidebar
- Added i18n keys for module management (DE + EN)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-19 14:00:50 +02:00
parent 2832d06ad7
commit dad9a779df
4 changed files with 330 additions and 9 deletions
+20 -2
View File
@@ -88,7 +88,8 @@
"admin": "Verwaltung",
"users": "Benutzer",
"tenants": "Mandanten",
"ldap": "LDAP"
"ldap": "LDAP",
"modules": "Module"
},
"dashboard": {
"title": "Dashboard",
@@ -126,6 +127,20 @@
"cannotDeleteActive": "Mandanten mit aktiven Benutzern koennen nicht geloescht werden"
}
},
"adminModules": {
"title": "Modulverwaltung",
"description": "Module fuer Ihren Mandanten aktivieren oder deaktivieren",
"activate": "Aktivieren",
"deactivate": "Deaktivieren",
"activated": "Aktiviert",
"deactivated": "Deaktiviert",
"system": "System",
"version": "Version",
"noModules": "Keine Module verfuegbar",
"activateSuccess": "Modul erfolgreich aktiviert",
"deactivateSuccess": "Modul erfolgreich deaktiviert",
"error": "Fehler bei der Modulverwaltung"
},
"theme": {
"light": "Hell",
"dark": "Dunkel",
@@ -141,7 +156,10 @@
"noModules": "Keine aktiven Module in dieser Kategorie",
"notFound": "Modul nicht gefunden",
"notFoundDescription": "Das angeforderte Modul existiert nicht oder ist nicht aktiviert.",
"backToCategory": "Zurueck zur Kategorie"
"backToCategory": "Zurueck zur Kategorie",
"allModules": "Module",
"allModulesDescription": "Verfuegbare Module fuer Ihren Mandanten",
"noActiveModules": "Keine Module aktiviert. Bitten Sie Ihren Administrator, Module zu aktivieren."
},
"domaincheck": {
"title": "Domaincheck",