Adds clusters to the navigation bar

Adds new line at the end of files
This commit is contained in:
Filipa Lacerda 2017-10-02 10:41:54 +01:00
parent 5663b4808d
commit 25d1c786d0
No known key found for this signature in database
GPG key ID: 9CA3FDE4D1E2F1C8
4 changed files with 10 additions and 4 deletions

View file

@ -146,7 +146,7 @@
= number_with_delimiter(@project.open_merge_requests_count)
- 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
.nav-icon-container
= sprite_icon('pipeline')
@ -189,6 +189,12 @@
%span
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
= nav_link(controller: :wikis) do
= link_to get_project_wiki_path(@project), class: 'shortcuts-wiki' do