2017-11-24 16:00:06 -05:00
.row.empty-state
.col-xs-12
2017-11-27 12:18:55 -05:00
.svg-content= image_tag 'illustrations/clusters_empty.svg'
2017-12-07 10:43:09 -05:00
.col-xs-12
2017-11-24 16:00:06 -05:00
.text-content
2018-01-29 14:49:00 -05:00
%h4.text-center= s_('ClusterIntegration|Integrate Kubernetes cluster automation')
2018-02-21 11:09:06 -05:00
- link_to_help_page = link_to(_('Learn more about Kubernetes'), help_page_path('user/project/clusters/index'), target: '_blank', rel: 'noopener noreferrer')
2018-01-29 14:49:00 -05:00
%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}
2017-11-24 16:00:06 -05:00
2018-04-02 14:40:11 -04:00
- 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'