summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2018-11-05 12:41:57 -0600
committerThong Kuah <tkuah@gitlab.com>2018-11-08 23:26:04 +1300
commita28fa6b933788d62a3e95e3c470e0c50efb5f43a (patch)
treed6e87758dec76eea763efda05c96656d3de6096a
parent7dbcd3e71228b0cabc7f653805ad191bd24b94f7 (diff)
downloadgitlab-ce-a28fa6b933788d62a3e95e3c470e0c50efb5f43a.tar.gz
Create disabled add cluster button partial to match EE
-rw-r--r--app/views/clusters/clusters/_buttons.html.haml4
-rw-r--r--app/views/clusters/clusters/index.html.haml1
2 files changed, 5 insertions, 0 deletions
diff --git a/app/views/clusters/clusters/_buttons.html.haml b/app/views/clusters/clusters/_buttons.html.haml
new file mode 100644
index 00000000000..db2e247e341
--- /dev/null
+++ b/app/views/clusters/clusters/_buttons.html.haml
@@ -0,0 +1,4 @@
+-# This partial is overridden in EE
+.nav-controls
+ %span.btn.btn-add-cluster.disabled.js-add-cluster
+ = s_("ClusterIntegration|Add Kubernetes cluster")
diff --git a/app/views/clusters/clusters/index.html.haml b/app/views/clusters/clusters/index.html.haml
index a55de84b5cd..7ec5f6b24ba 100644
--- a/app/views/clusters/clusters/index.html.haml
+++ b/app/views/clusters/clusters/index.html.haml
@@ -10,6 +10,7 @@
.top-area.adjust
.nav-text
= s_("ClusterIntegration|Kubernetes clusters can be used to deploy applications and to provide Review Apps for this project")
+ = render 'clusters/clusters/buttons'
.ci-table.js-clusters-list
.gl-responsive-table-row.table-row-header{ role: "row" }
.table-section.section-30{ role: "rowheader" }