summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-10-06 12:16:08 +0100
committerFilipa Lacerda <filipa@gitlab.com>2017-10-06 12:16:08 +0100
commitf4c10492f43f7d7a3790836d79680621faa38bd2 (patch)
tree8cd227c98d06c9c8f520fcd6dc503e69261b9646
parent5ced761ebdcb0579377e338c2e321e4ba0373336 (diff)
downloadgitlab-ce-f4c10492f43f7d7a3790836d79680621faa38bd2.tar.gz
Fix sidebar title
Fix fixture
-rw-r--r--app/views/layouts/nav/sidebar/_project.html.haml4
-rw-r--r--spec/javascripts/fixtures/clusters.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/layouts/nav/sidebar/_project.html.haml b/app/views/layouts/nav/sidebar/_project.html.haml
index c750da4822a..759d6ff68ea 100644
--- a/app/views/layouts/nav/sidebar/_project.html.haml
+++ b/app/views/layouts/nav/sidebar/_project.html.haml
@@ -191,9 +191,9 @@
- if project_nav_tab? :clusters
= nav_link(controller: :clusters) do
- = link_to project_clusters_path(@project), title: 'Clusters', class: 'shortcuts-clusters' do
+ = link_to project_clusters_path(@project), title: 'Cluster', class: 'shortcuts-cluster' do
%span
- Clusters
+ Cluster
- if project_nav_tab? :wiki
= nav_link(controller: :wikis) do
diff --git a/spec/javascripts/fixtures/clusters.rb b/spec/javascripts/fixtures/clusters.rb
index bf8ba8146da..5774f36f026 100644
--- a/spec/javascripts/fixtures/clusters.rb
+++ b/spec/javascripts/fixtures/clusters.rb
@@ -11,7 +11,7 @@ describe Projects::ClustersController, '(JavaScript fixtures)', type: :controlle
render_views
before(:all) do
- clean_frontend_fixtures('branches/')
+ clean_frontend_fixtures('clusters/')
end
before do