Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2018-11-07 00:03:33 +0300
committerThong Kuah <tkuah@gitlab.com>2018-11-08 13:28:30 +0300
commit82391594e3cb4afa0853b732bd076dc21d62af28 (patch)
tree9d6df559e502ccd9bca96548a25ec7bfa873a1ee /app/views
parent603c748ca377c9cdeeae5367ddb2df8b49697835 (diff)
Update copy above new cluster form
Diffstat (limited to 'app/views')
-rw-r--r--app/views/clusters/clusters/_sidebar.html.haml14
1 files changed, 9 insertions, 5 deletions
diff --git a/app/views/clusters/clusters/_sidebar.html.haml b/app/views/clusters/clusters/_sidebar.html.haml
index 3d10348212f..5f941f6cf0e 100644
--- a/app/views/clusters/clusters/_sidebar.html.haml
+++ b/app/views/clusters/clusters/_sidebar.html.haml
@@ -2,8 +2,12 @@
- help_link_start = "<a href=\"%{url}\" target=\"_blank\" rel=\"noopener noreferrer\">".html_safe
- help_link_end = '</a>'.html_safe
%h4.prepend-top-0
- = s_('ClusterIntegration|Kubernetes cluster integration')
-%p
- = s_('ClusterIntegration|With a Kubernetes cluster associated to this project, you can use review apps, deploy your applications, run your pipelines, and much more in an easy way.')
-%p
- = s_('ClusterIntegration|Learn more about %{help_link_start}Kubernetes%{help_link_end}.').html_safe % { help_link_start: help_link_start % { url: clusters_help_url }, help_link_end: help_link_end }
+ = s_('ClusterIntegration|Add a Kubernetes cluster integration')
+- if clusterable.is_project?
+ %p
+ = s_('ClusterIntegration|With a Kubernetes cluster associated to this project, you can use review apps, deploy your applications, run your pipelines, and much more in an easy way.')
+ %p
+ = s_('ClusterIntegration|Learn more about %{help_link_start}Kubernetes%{help_link_end}.').html_safe % { help_link_start: help_link_start % { url: clusters_help_url }, help_link_end: help_link_end }
+- else
+ %p
+ = s_('ClusterIntegration|Adding a Kubernetes cluster to your group will automatically share the cluster across all your projects. Use review apps, deploy your applications, and easily run your pipelines for all projects using the same cluster.')