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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
d5fed2d5
Commit
d5fed2d5
authored
Mar 27, 2018
by
Elias Werberich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move 'Registry' after 'CI/CD' in project navigation sidebar
parent
e37b1c76
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
+13
-8
app/views/layouts/nav/sidebar/_project.html.haml
app/views/layouts/nav/sidebar/_project.html.haml
+8
-8
changelogs/unreleased/move-registry-after-cicd-project-nav-sidebar.yml
...released/move-registry-after-cicd-project-nav-sidebar.yml
+5
-0
No files found.
app/views/layouts/nav/sidebar/_project.html.haml
View file @
d5fed2d5
...
@@ -80,14 +80,6 @@
...
@@ -80,14 +80,6 @@
=
link_to
charts_project_graph_path
(
@project
,
current_ref
)
do
=
link_to
charts_project_graph_path
(
@project
,
current_ref
)
do
#{
_
(
'Charts'
)
}
#{
_
(
'Charts'
)
}
-
if
project_nav_tab?
:container_registry
=
nav_link
(
controller:
%w[projects/registry/repositories]
)
do
=
link_to
project_container_registry_index_path
(
@project
),
class:
'shortcuts-container-registry'
do
.nav-icon-container
=
sprite_icon
(
'disk'
)
%span
.nav-item-name
Registry
-
if
project_nav_tab?
:issues
-
if
project_nav_tab?
:issues
=
nav_link
(
controller:
@project
.
issues_enabled?
?
[
:issues
,
:labels
,
:milestones
,
:boards
]
:
:issues
)
do
=
nav_link
(
controller:
@project
.
issues_enabled?
?
[
:issues
,
:labels
,
:milestones
,
:boards
]
:
:issues
)
do
=
link_to
project_issues_path
(
@project
),
class:
'shortcuts-issues'
do
=
link_to
project_issues_path
(
@project
),
class:
'shortcuts-issues'
do
...
@@ -231,6 +223,14 @@
...
@@ -231,6 +223,14 @@
%span
%span
Charts
Charts
-
if
project_nav_tab?
:container_registry
=
nav_link
(
controller:
%w[projects/registry/repositories]
)
do
=
link_to
project_container_registry_index_path
(
@project
),
class:
'shortcuts-container-registry'
do
.nav-icon-container
=
sprite_icon
(
'disk'
)
%span
.nav-item-name
Registry
-
if
project_nav_tab?
:wiki
-
if
project_nav_tab?
:wiki
=
nav_link
(
controller: :wikis
)
do
=
nav_link
(
controller: :wikis
)
do
=
link_to
get_project_wiki_path
(
@project
),
class:
'shortcuts-wiki'
do
=
link_to
get_project_wiki_path
(
@project
),
class:
'shortcuts-wiki'
do
...
...
changelogs/unreleased/move-registry-after-cicd-project-nav-sidebar.yml
0 → 100644
View file @
d5fed2d5
---
title
:
Move 'Registry' after 'CI/CD' in project navigation sidebar
merge_request
:
18018
author
:
Elias Werberich
type
:
changed
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