debian-mirror-gitlab/app/views/projects/clusters/_empty_state.html.haml

13 lines
812 B
Text
Raw Normal View History

2018-03-17 18:26:18 +05:30
.row.empty-state
2018-11-08 19:23:39 +05:30
.col-12
2018-03-17 18:26:18 +05:30
.svg-content= image_tag 'illustrations/clusters_empty.svg'
2018-11-08 19:23:39 +05:30
.col-12
2018-03-17 18:26:18 +05:30
.text-content
%h4.text-center= s_('ClusterIntegration|Integrate Kubernetes cluster automation')
2018-03-27 19:54:05 +05:30
- link_to_help_page = link_to(_('Learn more about Kubernetes'), help_page_path('user/project/clusters/index'), target: '_blank', rel: 'noopener noreferrer')
2018-03-17 18:26:18 +05:30
%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}
2018-05-09 12:01:36 +05:30
- if can?(current_user, :create_cluster, @project)
.text-center
= link_to s_('ClusterIntegration|Add Kubernetes cluster'), new_project_cluster_path(@project), class: 'btn btn-success'