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
cf8dc314
Commit
cf8dc314
authored
Jul 10, 2018
by
Kushal Pandya
Committed by
Gabriel Mazetto
Aug 07, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add sub-nav items for `Nodes` and `Projects`
parent
59ce64fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
7 deletions
+17
-7
app/views/layouts/nav/sidebar/_admin.html.haml
app/views/layouts/nav/sidebar/_admin.html.haml
+17
-7
No files found.
app/views/layouts/nav/sidebar/_admin.html.haml
View file @
cf8dc314
...
...
@@ -170,17 +170,27 @@
%strong
.fly-out-top-item-name
#{
_
(
'Push Rules'
)
}
=
nav_link
(
controller:
:geo_nodes
)
do
=
nav_link
(
controller:
%w(geo_nodes)
)
do
=
link_to
admin_geo_nodes_path
do
.nav-icon-container
=
sprite_icon
(
'location-dot'
)
%span
.nav-item-name
Geo Nodes
%ul
.sidebar-sub-level-items.is-fly-out-only
=
nav_link
(
controller: :geo_nodes
,
html_options:
{
class:
"fly-out-top-item"
}
)
do
=
link_to
admin_geo_nodes_path
do
%strong
.fly-out-top-item-name
#{
_
(
'Geo Nodes'
)
}
#{
_
(
'Geo Nodes'
)
}
-
if
Gitlab
::
Geo
.
secondary?
%ul
.sidebar-sub-level-items
=
nav_link
(
controller:
%w(geo_nodes)
,
html_options:
{
class:
"fly-out-top-item"
}
)
do
=
link_to
admin_geo_nodes_path
do
%strong
.fly-out-top-item-name
#{
_
(
'Geo Nodes'
)
}
%li
.divider.fly-out-top-item
=
nav_link
(
path:
'geo_nodes#index'
)
do
=
link_to
admin_geo_nodes_path
,
title:
'Nodes'
do
%span
#{
_
(
'Nodes'
)
}
=
nav_link
(
path:
'geo_nodes#projects'
)
do
=
link_to
projects_admin_geo_nodes_path
,
title:
'Projects'
do
%span
#{
_
(
'Projects'
)
}
=
nav_link
(
controller: :deploy_keys
)
do
=
link_to
admin_deploy_keys_path
do
...
...
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