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
25d1c786
Commit
25d1c786
authored
Oct 02, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds clusters to the navigation bar
Adds new line at the end of files
parent
5663b480
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
app/views/layouts/nav/sidebar/_project.html.haml
app/views/layouts/nav/sidebar/_project.html.haml
+7
-1
No files found.
app/views/layouts/nav/sidebar/_project.html.haml
View file @
25d1c786
...
@@ -146,7 +146,7 @@
...
@@ -146,7 +146,7 @@
=
number_with_delimiter
(
@project
.
open_merge_requests_count
)
=
number_with_delimiter
(
@project
.
open_merge_requests_count
)
-
if
project_nav_tab?
:pipelines
-
if
project_nav_tab?
:pipelines
=
nav_link
(
controller:
[
:pipelines
,
:builds
,
:jobs
,
:pipeline_schedules
,
:environments
,
:artifacts
])
do
=
nav_link
(
controller:
[
:pipelines
,
:builds
,
:jobs
,
:pipeline_schedules
,
:environments
,
:artifacts
,
:clusters
])
do
=
link_to
project_pipelines_path
(
@project
),
class:
'shortcuts-pipelines'
do
=
link_to
project_pipelines_path
(
@project
),
class:
'shortcuts-pipelines'
do
.nav-icon-container
.nav-icon-container
=
sprite_icon
(
'pipeline'
)
=
sprite_icon
(
'pipeline'
)
...
@@ -189,6 +189,12 @@
...
@@ -189,6 +189,12 @@
%span
%span
Charts
Charts
-# - if project_nav_tab? :clusters TODO @shinya @ayufan
=
nav_link
(
controller: :clusters
)
do
=
link_to
project_clusters_path
(
@project
),
title:
'Clusters'
,
class:
'shortcuts-clusters'
do
%span
Clusters
-
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
...
...
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