summaryrefslogtreecommitdiff
path: root/app/views/clusters/clusters/_sidebar.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/clusters/clusters/_sidebar.html.haml')
-rw-r--r--app/views/clusters/clusters/_sidebar.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/clusters/clusters/_sidebar.html.haml b/app/views/clusters/clusters/_sidebar.html.haml
index 045c03df4fa..e479773e70d 100644
--- a/app/views/clusters/clusters/_sidebar.html.haml
+++ b/app/views/clusters/clusters/_sidebar.html.haml
@@ -1,5 +1,4 @@
- is_connect_page = local_assigns.fetch(:is_connect_page, false)
-- docs_mode = local_assigns.fetch(:docs_mode, false)
- title = is_connect_page ? s_('ClusterIntegration|Connect a Kubernetes cluster') : s_('ClusterIntegration|Create a Kubernetes cluster')
%h3
@@ -7,7 +6,7 @@
%p
= clusterable.sidebar_text
-- if !docs_mode
+- if is_connect_page
%p
= clusterable.learn_more_link