diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-20 09:16:11 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-01-20 09:16:11 +0000 |
commit | edaa33dee2ff2f7ea3fac488d41558eb5f86d68c (patch) | |
tree | 11f143effbfeba52329fb7afbd05e6e2a3790241 /app/helpers/nav/top_nav_helper.rb | |
parent | d8a5691316400a0f7ec4f83832698f1988eb27c1 (diff) | |
download | gitlab-ce-edaa33dee2ff2f7ea3fac488d41558eb5f86d68c.tar.gz |
Add latest changes from gitlab-org/gitlab@14-7-stable-eev14.7.0-rc42
Diffstat (limited to 'app/helpers/nav/top_nav_helper.rb')
-rw-r--r-- | app/helpers/nav/top_nav_helper.rb | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/app/helpers/nav/top_nav_helper.rb b/app/helpers/nav/top_nav_helper.rb index ecef2d38e54..24102a90a3b 100644 --- a/app/helpers/nav/top_nav_helper.rb +++ b/app/helpers/nav/top_nav_helper.rb @@ -123,7 +123,7 @@ module Nav if dashboard_nav_link?(:milestones) builder.add_primary_menu_item_with_shortcut( id: 'milestones', - title: 'Milestones', + title: _('Milestones'), href: dashboard_milestones_path, active: active_nav_link?(controller: 'dashboard/milestones'), icon: 'clock', @@ -144,7 +144,7 @@ module Nav if dashboard_nav_link?(:activity) builder.add_primary_menu_item_with_shortcut( id: 'activity', - title: 'Activity', + title: _('Activity'), href: activity_dashboard_path, active: active_nav_link?(path: 'dashboard#activity'), icon: 'history', @@ -189,15 +189,6 @@ module Nav end end # rubocop: enable Cop/UserAdmin - - if Gitlab::Sherlock.enabled? - builder.add_secondary_menu_item( - id: 'sherlock', - title: _('Sherlock Transactions'), - icon: 'admin', - href: sherlock_transactions_path - ) - end end def projects_menu_item_attrs @@ -212,7 +203,7 @@ module Nav def groups_menu_item_attrs { id: 'groups', - title: 'Groups', + title: _('Groups'), icon: 'group', shortcut_class: 'dashboard-shortcuts-groups' } |