diff options
author | Thong Kuah <tkuah@gitlab.com> | 2018-11-07 21:07:28 +1300 |
---|---|---|
committer | Thong Kuah <tkuah@gitlab.com> | 2018-11-08 23:28:30 +1300 |
commit | ecb4a29fc069990a4e946f40f1bd8e17dcb2186d (patch) | |
tree | 6d8f2d0c56d33f0469c15af4b20a2652094312b7 /app/presenters/project_clusterable_presenter.rb | |
parent | b019224ff2bf6c8282a210eff1e98d0225e98a0c (diff) | |
download | gitlab-ce-ecb4a29fc069990a4e946f40f1bd8e17dcb2186d.tar.gz |
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/project_clusterable_presenter.rb')
-rw-r--r-- | app/presenters/project_clusterable_presenter.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/presenters/project_clusterable_presenter.rb b/app/presenters/project_clusterable_presenter.rb index ede8547d210..63e69b91b11 100644 --- a/app/presenters/project_clusterable_presenter.rb +++ b/app/presenters/project_clusterable_presenter.rb @@ -19,6 +19,11 @@ class ProjectClusterablePresenter < ClusterablePresenter project_cluster_path(clusterable, cluster, params) end + override :sidebar_text + def sidebar_text + 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.') + end + override :learn_more_link def learn_more_link link_to(s_('ClusterIntegration|Learn more about Kubernetes'), help_page_path('user/project/clusters/index'), target: '_blank', rel: 'noopener noreferrer') |