diff --git a/config/sidebar.php b/config/sidebar.php index b4761d4..75e1312 100644 --- a/config/sidebar.php +++ b/config/sidebar.php @@ -26,7 +26,14 @@ return [ ['label' => 'sidebar.general.myTasks', 'to' => '/my-tasks', 'icon' => 'mdi:clipboard-check-outline', 'module' => 'project-management', 'permission' => 'project-management.tasks.view'], ['label' => 'sidebar.general.projects', 'to' => '/projects', 'icon' => 'mdi:folder-outline', 'module' => 'project-management', 'permission' => 'project-management.projects.view'], ['label' => 'sidebar.general.timeTracking', 'to' => '/time-tracking', 'icon' => 'mdi:calendar-edit-outline', 'module' => 'time-tracking', 'permission' => 'time-tracking.entries.view'], - // Gating module uniquement (cf. en-tête) : rendu visuel + badge gérés côté layout. + ], + ], + [ + 'label' => 'sidebar.tools.section', + 'icon' => 'mdi:tools', + 'items' => [ + // Gating module uniquement : rendu visuel + badge non-lus gérés côté layout + // (filtré de translatedSections puis ré-injecté avec suffixe (N)). ['label' => 'sidebar.general.mail', 'to' => '/mail', 'icon' => 'mdi:email-outline', 'module' => 'mail'], ], ], @@ -37,8 +44,8 @@ return [ 'items' => [ ['label' => 'sidebar.admin.teamAbsences', 'to' => '/team-absences', 'icon' => 'mdi:calendar-account-outline', 'module' => 'absence'], ['label' => 'sidebar.admin.directory', 'to' => '/directory', 'icon' => 'mdi:card-account-details-outline', 'module' => 'directory'], - ['label' => 'sidebar.admin.administration', 'to' => '/admin', 'icon' => 'mdi:cog-outline', 'permission' => 'core.users.view'], ['label' => 'sidebar.admin.reporting', 'to' => '/reporting', 'icon' => 'mdi:chart-line', 'module' => 'reporting', 'permission' => 'reporting.view'], + ['label' => 'sidebar.admin.administration', 'to' => '/admin', 'icon' => 'mdi:cog-outline', 'permission' => 'core.users.view'], ], ], ]; diff --git a/frontend/i18n/locales/fr.json b/frontend/i18n/locales/fr.json index d35d48f..9dabbc1 100644 --- a/frontend/i18n/locales/fr.json +++ b/frontend/i18n/locales/fr.json @@ -349,21 +349,29 @@ } }, "sidebar": { - "myTasks": "Mes tâches", "general": { - "section": "Gestion de projet", + "section": "Général", "dashboard": "Tableau de bord", "myTasks": "Mes tâches", "projects": "Projets", "timeTracking": "Suivi de temps", - "mail": "Messagerie" + "mail": "Messagerie", + "myAbsences": "Mes absences" + }, + "tools": { + "section": "Outils" + }, + "project": { + "kanban": "Kanban", + "groups": "Groupes", + "archives": "Archives" }, "admin": { "section": "Administration", "teamAbsences": "Absences équipe", - "administration": "Administration", "directory": "Répertoire", - "reporting": "Rapports" + "reporting": "Rapports", + "administration": "Administration" } }, "reporting": {