diff --git a/i18n/default_de.json b/i18n/default_de.json
index 339a2b6..bc6c2fd 100644
--- a/i18n/default_de.json
+++ b/i18n/default_de.json
@@ -1435,5 +1435,7 @@
"Remove selected file": "Ausgewaehlte Datei entfernen",
"Replace": "Ersetzen",
"Delete this image?": "Dieses Bild löschen?",
- "Current image": "Aktuelles Bild"
+ "Current image": "Aktuelles Bild",
+ "Open navigation": "Navigation öffnen",
+ "Close navigation": "Navigation schließen"
}
diff --git a/i18n/default_en.json b/i18n/default_en.json
index 7dc456a..6187170 100644
--- a/i18n/default_en.json
+++ b/i18n/default_en.json
@@ -1435,5 +1435,7 @@
"Remove selected file": "Remove selected file",
"Replace": "Replace",
"Delete this image?": "Delete this image?",
- "Current image": "Current image"
+ "Current image": "Current image",
+ "Open navigation": "Open navigation",
+ "Close navigation": "Close navigation"
}
diff --git a/templates/default.phtml b/templates/default.phtml
index b38d631..6652a0e 100644
--- a/templates/default.phtml
+++ b/templates/default.phtml
@@ -320,12 +320,12 @@ $componentPageConfig['moduleRuntimeComponents'] = $moduleRuntimeComponents;
+
-
@@ -333,6 +333,7 @@ $componentPageConfig['moduleRuntimeComponents'] = $moduleRuntimeComponents;
+
diff --git a/templates/partials/app-main-aside.phtml b/templates/partials/app-main-aside.phtml
index 5d7ceaa..cadc273 100644
--- a/templates/partials/app-main-aside.phtml
+++ b/templates/partials/app-main-aside.phtml
@@ -25,9 +25,8 @@ $docsDefaultPath = 'admin/docs/' . $docsDefaultSlug;
$hasOrganization = $canViewTenants || $canViewDepartments || $canViewUsers;
$hasUsersSection = $canViewRoles || $canViewPermissions;
$hasAutomationSection = $canViewImports || $canViewJobs;
-$hasMonitoringSection = $canViewStats;
$hasLogsSection = $canViewMailLog;
-$hasSystemSection = $canViewSettings;
+$hasSystemSection = $canViewSettings || $canViewStats;
$hasAdminPanel = layoutHasAdminPanel($layoutAuth);
// Declarative nav config for admin panel groups
@@ -105,21 +104,6 @@ $adminNavGroups = [
],
],
],
- [
- 'key' => 'admin-monitoring',
- 'label' => t('Monitoring'),
- 'icon' => 'bi-graph-up',
- 'visible' => $hasMonitoringSection,
- 'items' => [
- [
- 'label' => t('Statistics'),
- 'path' => 'admin/stats',
- 'active' => navActive('admin/stats', true),
- 'visible' => $canViewStats,
- 'withTenant' => false,
- ],
- ],
- ],
[
'key' => 'admin-logs',
'label' => t('Logs'),
@@ -148,6 +132,13 @@ $adminNavGroups = [
'visible' => $canViewSettings,
'withTenant' => false,
],
+ [
+ 'label' => t('Statistics'),
+ 'path' => 'admin/stats',
+ 'active' => navActive('admin/stats', true),
+ 'visible' => $canViewStats,
+ 'withTenant' => false,
+ ],
],
],
];
@@ -281,24 +272,6 @@ $moduleSlots = is_array($layoutNav['moduleSlots'] ?? null) ? $layoutNav['moduleS
$modulePanelSlots = is_array($moduleSlots['aside.tab_panel'] ?? null) ? $moduleSlots['aside.tab_panel'] : [];
?>