Commit eccbefc7 authored by Olena Horal-Koretska's avatar Olena Horal-Koretska

Merge branch 'remove-duplicate-new-cluster-button' into 'master'

Remove duplicate new cluster button

See merge request gitlab-org/gitlab!82654
parents 5a0ca7e8 e4302260
- if !clusters.empty?
.top-area.adjust
.gl-display-block.gl-text-right.gl-my-4.gl-w-full
- if clusterable.can_add_cluster?
= link_to s_('ClusterIntegration|Connect cluster with certificate'), clusterable.new_path, class: 'btn gl-button btn-confirm js-add-cluster gl-py-2', data: { qa_selector: 'integrate_kubernetes_cluster_button' }
- else
%span.btn.gl-button.btn-confirm.js-add-cluster.disabled.gl-py-2
= s_("ClusterIntegration|Connect cluster with certificate")
.js-clusters-main-view{ data: js_clusters_list_data(clusterable) }
...@@ -9,4 +9,4 @@ ...@@ -9,4 +9,4 @@
.js-clusters-main-view{ data: js_clusters_data(clusterable) } .js-clusters-main-view{ data: js_clusters_data(clusterable) }
- else - else
= render 'cluster_list', clusters: @clusters .js-clusters-main-view{ data: js_clusters_list_data(clusterable) }
...@@ -8071,9 +8071,6 @@ msgstr "" ...@@ -8071,9 +8071,6 @@ msgstr ""
msgid "ClusterIntegration|Clusters are utilized by selecting the nearest ancestor with a matching environment scope. For example, project clusters will override group clusters. %{linkStart}More information%{linkEnd}" msgid "ClusterIntegration|Clusters are utilized by selecting the nearest ancestor with a matching environment scope. For example, project clusters will override group clusters. %{linkStart}More information%{linkEnd}"
msgstr "" msgstr ""
msgid "ClusterIntegration|Connect cluster with certificate"
msgstr ""
msgid "ClusterIntegration|Connect existing cluster" msgid "ClusterIntegration|Connect existing cluster"
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment