From b817ebf662527e81035355e846740d6cf663b10b Mon Sep 17 00:00:00 2001 From: fs Date: Sun, 5 Apr 2026 20:05:09 +0200 Subject: [PATCH] fix(helpdesk): rename navigation and title to 'Team dashboard' Co-Authored-By: Claude Opus 4.6 (1M context) --- modules/helpdesk/i18n/default_de.json | 1 + modules/helpdesk/i18n/default_en.json | 1 + modules/helpdesk/pages/helpdesk/team/index().php | 4 ++-- modules/helpdesk/pages/helpdesk/team/index(default).phtml | 2 +- modules/helpdesk/templates/aside-helpdesk-panel.phtml | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/helpdesk/i18n/default_de.json b/modules/helpdesk/i18n/default_de.json index 5425d3b..3999985 100644 --- a/modules/helpdesk/i18n/default_de.json +++ b/modules/helpdesk/i18n/default_de.json @@ -286,6 +286,7 @@ "Min. age": "Mindestalter", "Min. open": "Mind. offen", "Team": "Team", + "Team dashboard": "Team-Dashboard", "Team workload": "Team-Auslastung", "Support agent": "Support-Mitarbeiter", "Open": "Offen", diff --git a/modules/helpdesk/i18n/default_en.json b/modules/helpdesk/i18n/default_en.json index a523e60..ef55ce7 100644 --- a/modules/helpdesk/i18n/default_en.json +++ b/modules/helpdesk/i18n/default_en.json @@ -286,6 +286,7 @@ "Min. age": "Min. age", "Min. open": "Min. open", "Team": "Team", + "Team dashboard": "Team dashboard", "Team workload": "Team workload", "Support agent": "Support agent", "Open": "Open", diff --git a/modules/helpdesk/pages/helpdesk/team/index().php b/modules/helpdesk/pages/helpdesk/team/index().php index c368a97..e234727 100644 --- a/modules/helpdesk/pages/helpdesk/team/index().php +++ b/modules/helpdesk/pages/helpdesk/team/index().php @@ -7,10 +7,10 @@ use MintyPHP\Support\Guard; Guard::requireLogin(); Guard::requireAbilityOrForbidden(HelpdeskAuthorizationPolicy::ABILITY_TEAM_WORKLOAD); -Buffer::set('title', t('Team workload')); +Buffer::set('title', t('Team dashboard')); Buffer::set('style_groups', json_encode(['helpdesk'])); $breadcrumbs = [ ['label' => t('Home'), 'path' => 'admin'], ['label' => t('Helpdesk'), 'path' => 'helpdesk'], - ['label' => t('Team')], + ['label' => t('Team dashboard')], ]; diff --git a/modules/helpdesk/pages/helpdesk/team/index(default).phtml b/modules/helpdesk/pages/helpdesk/team/index(default).phtml index b0766e0..236b674 100644 --- a/modules/helpdesk/pages/helpdesk/team/index(default).phtml +++ b/modules/helpdesk/pages/helpdesk/team/index(default).phtml @@ -33,7 +33,7 @@ $periodLabels = [
t('Team workload'), + 'title' => t('Team dashboard'), 'backHref' => lurl('helpdesk'), 'backTitle' => t('Back'), 'actions' => [ diff --git a/modules/helpdesk/templates/aside-helpdesk-panel.phtml b/modules/helpdesk/templates/aside-helpdesk-panel.phtml index 34e8e35..45d98f9 100644 --- a/modules/helpdesk/templates/aside-helpdesk-panel.phtml +++ b/modules/helpdesk/templates/aside-helpdesk-panel.phtml @@ -20,7 +20,7 @@ $helpdeskNavItems = [ 'visible' => true, ], [ - 'label' => t('Team'), + 'label' => t('Team dashboard'), 'path' => 'helpdesk/team', 'active' => $teamActive, 'visible' => $canViewTeam,