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
d7e0a50b
Commit
d7e0a50b
authored
Aug 26, 2021
by
Sunjung Park
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update texts in the global nav
parent
ccf9b780
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ee/app/helpers/ee/nav/top_nav_helper.rb
ee/app/helpers/ee/nav/top_nav_helper.rb
+1
-1
ee/spec/helpers/nav/top_nav_helper_spec.rb
ee/spec/helpers/nav/top_nav_helper_spec.rb
+1
-1
No files found.
ee/app/helpers/ee/nav/top_nav_helper.rb
View file @
d7e0a50b
...
...
@@ -44,7 +44,7 @@ module EE
if
::
Gitlab
::
Geo
.
secondary?
&&
::
Gitlab
::
Geo
.
primary_node_configured?
builder
.
add_secondary_menu_item
(
id:
'geo'
,
title:
_
(
'Go to primary
nod
e'
),
title:
_
(
'Go to primary
sit
e'
),
icon:
'location-dot'
,
href:
::
Gitlab
::
Geo
.
primary_node
.
url
)
...
...
ee/spec/helpers/nav/top_nav_helper_spec.rb
View file @
d7e0a50b
...
...
@@ -97,7 +97,7 @@ RSpec.describe Nav::TopNavHelper do
href:
url
,
icon:
'location-dot'
,
id:
'geo'
,
title:
'Go to primary
nod
e'
title:
'Go to primary
sit
e'
)
expect
(
subject
[
:secondary
]).
to
eq
([
expected_secondary
])
end
...
...
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