Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
03c5a413
Commit
03c5a413
authored
Jan 03, 2022
by
wortschi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make strings in top nav translatable
Changelog: changed EE: true
parent
e2b0cc80
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
6 deletions
+9
-6
app/helpers/nav/top_nav_helper.rb
app/helpers/nav/top_nav_helper.rb
+3
-3
ee/app/helpers/ee/nav/top_nav_helper.rb
ee/app/helpers/ee/nav/top_nav_helper.rb
+3
-3
locale/gitlab.pot
locale/gitlab.pot
+3
-0
No files found.
app/helpers/nav/top_nav_helper.rb
View file @
03c5a413
...
...
@@ -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'
,
...
...
@@ -212,7 +212,7 @@ module Nav
def
groups_menu_item_attrs
{
id:
'groups'
,
title:
'Groups'
,
title:
_
(
'Groups'
)
,
icon:
'group'
,
shortcut_class:
'dashboard-shortcuts-groups'
}
...
...
ee/app/helpers/ee/nav/top_nav_helper.rb
View file @
03c5a413
...
...
@@ -14,7 +14,7 @@ module EE
if
dashboard_nav_link?
(
:environments
)
builder
.
add_primary_menu_item
(
id:
'environments'
,
title:
'Environments'
,
title:
_
(
'Environments'
)
,
icon:
'environment'
,
data:
{
qa_selector:
'environment_link'
},
href:
operations_environments_path
...
...
@@ -24,7 +24,7 @@ module EE
if
dashboard_nav_link?
(
:operations
)
builder
.
add_primary_menu_item
(
id:
'operations'
,
title:
'Operations'
,
title:
_
(
'Operations'
)
,
icon:
'cloud-gear'
,
data:
{
qa_selector:
'operations_link'
},
href:
operations_path
...
...
@@ -34,7 +34,7 @@ module EE
if
dashboard_nav_link?
(
:security
)
builder
.
add_primary_menu_item
(
id:
'security'
,
title:
'Security'
,
title:
_
(
'Security'
)
,
icon:
'shield'
,
data:
{
qa_selector:
'security_link'
},
href:
security_dashboard_path
...
...
locale/gitlab.pot
View file @
03c5a413
...
...
@@ -24860,6 +24860,9 @@ msgstr ""
msgid "Operation timed out. Check pod logs for %{pod_name} for more details."
msgstr ""
msgid "Operations"
msgstr ""
msgid "Operations Dashboard"
msgstr ""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment