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
02d131a3
Commit
02d131a3
authored
Mar 27, 2018
by
Elias Werberich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Port of contribute/registry-after-cicd to EE
parent
ebd83f3c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
13 deletions
+18
-13
app/views/layouts/nav/sidebar/_project.html.haml
app/views/layouts/nav/sidebar/_project.html.haml
+13
-13
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 @
02d131a3
...
...
@@ -85,19 +85,6 @@
=
link_to
project_path_locks_path
(
@project
)
do
#{
_
(
'Locked Files'
)
}
-
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
%ul
.sidebar-sub-level-items.is-fly-out-only
=
nav_link
(
controller:
%w[projects/registry/repositories]
,
html_options:
{
class:
"fly-out-top-item"
}
)
do
=
link_to
project_container_registry_index_path
(
@project
)
do
%strong
.fly-out-top-item-name
#{
_
(
'Registry'
)
}
-
if
project_nav_tab?
:issues
=
nav_link
(
controller:
@project
.
issues_enabled?
?
[
:issues
,
:labels
,
:milestones
,
:boards
]
:
:issues
)
do
=
link_to
project_issues_path
(
@project
),
class:
'shortcuts-issues'
do
...
...
@@ -245,6 +232,19 @@
%span
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
%ul
.sidebar-sub-level-items.is-fly-out-only
=
nav_link
(
controller:
%w[projects/registry/repositories]
,
html_options:
{
class:
"fly-out-top-item"
}
)
do
=
link_to
project_container_registry_index_path
(
@project
)
do
%strong
.fly-out-top-item-name
#{
_
(
'Registry'
)
}
-
if
project_nav_tab?
:wiki
=
nav_link
(
controller: :wikis
)
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 @
02d131a3
---
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