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-06 23:26:30 +0300
committerThong Kuah <tkuah@gitlab.com>2018-11-08 13:28:30 +0300
commit1dba5dbc3ad227aa0d3252efffb2dd1b2078eb0d (patch)
tree6a088996ca01f6dfab4e9da8851ff32c00dc539a /app/views
parent5a042ef2fbe1bd57b9428c89b49d2fa1e248ad46 (diff)
Update empty state for group clusters index
Diffstat (limited to 'app/views')
-rw-r--r--app/views/clusters/clusters/_empty_state.html.haml8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/views/clusters/clusters/_empty_state.html.haml b/app/views/clusters/clusters/_empty_state.html.haml
index 800e76d92ef..4e739e86edf 100644
--- a/app/views/clusters/clusters/_empty_state.html.haml
+++ b/app/views/clusters/clusters/_empty_state.html.haml
@@ -5,7 +5,13 @@
.text-content
%h4.text-center= s_('ClusterIntegration|Integrate Kubernetes cluster automation')
- link_to_help_page = link_to(_('Learn more about Kubernetes'), help_page_path('user/project/clusters/index'), target: '_blank', rel: 'noopener noreferrer')
- %p= s_('ClusterIntegration|Kubernetes clusters allow you to use review apps, deploy your applications, run your pipelines, and much more in an easy way. %{link_to_help_page}').html_safe % { link_to_help_page: link_to_help_page}
+ %p
+ = s_('ClusterIntegration|Kubernetes clusters allow you to use review apps, deploy your applications, run your pipelines, and much more in an easy way.')
+ - if clusterable.is_project?
+ = link_to(s_('ClusterIntegration|Learn more about Kubernetes'), help_page_path('user/project/clusters/index'), target: '_blank', rel: 'noopener noreferrer')
+ - else
+ = s_('ClusterIntegration|Adding an integration to your group will share the cluster across all your projects.')
+ = link_to(s_('ClusterIntegration|Learn more about group Kubernetes clusters'), help_page_path('user/project/clusters/index'), target: '_blank', rel: 'noopener noreferrer')
- if clusterable.can_create_cluster?
.text-center