diff options
author | Thong Kuah <tkuah@gitlab.com> | 2018-11-07 11:07:28 +0300 |
---|---|---|
committer | Thong Kuah <tkuah@gitlab.com> | 2018-11-08 13:28:30 +0300 |
commit | ecb4a29fc069990a4e946f40f1bd8e17dcb2186d (patch) | |
tree | 6d8f2d0c56d33f0469c15af4b20a2652094312b7 /app/presenters/group_clusterable_presenter.rb | |
parent | b019224ff2bf6c8282a210eff1e98d0225e98a0c (diff) |
Reverse view override as EE has an override too
Use presenters instead otherwise we will have x2 overides in EE
Diffstat (limited to 'app/presenters/group_clusterable_presenter.rb')
-rw-r--r-- | app/presenters/group_clusterable_presenter.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/presenters/group_clusterable_presenter.rb b/app/presenters/group_clusterable_presenter.rb index 427f3ec047c..d963c188559 100644 --- a/app/presenters/group_clusterable_presenter.rb +++ b/app/presenters/group_clusterable_presenter.rb @@ -24,6 +24,11 @@ class GroupClusterablePresenter < ClusterablePresenter s_('ClusterIntegration|Adding an integration to your group will share the cluster across all your projects.') end + override :sidebar_text + def sidebar_text + 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.') + end + override :learn_more_link def learn_more_link link_to(s_('ClusterIntegration|Learn more about group Kubernetes clusters'), help_page_path('user/project/clusters/index'), target: '_blank', rel: 'noopener noreferrer') |