diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-10-02 10:41:54 +0100 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-10-02 10:49:00 +0100 |
commit | 25d1c786d0463fbdd4d149c106ce9965601b197f (patch) | |
tree | 04cacd9d5773a391c9f6047c8f5f83e21a8943d9 /app/views/layouts | |
parent | 5663b4808df787b1bcbf32ba54eccbb4c7537e25 (diff) | |
download | gitlab-ce-25d1c786d0463fbdd4d149c106ce9965601b197f.tar.gz |
Adds clusters to the navigation bar
Adds new line at the end of files
Diffstat (limited to 'app/views/layouts')
-rw-r--r-- | app/views/layouts/nav/sidebar/_project.html.haml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/app/views/layouts/nav/sidebar/_project.html.haml b/app/views/layouts/nav/sidebar/_project.html.haml index 8765b814405..ed032b145da 100644 --- a/app/views/layouts/nav/sidebar/_project.html.haml +++ b/app/views/layouts/nav/sidebar/_project.html.haml @@ -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 |