22 lines
1.2 KiB
Text
22 lines
1.2 KiB
Text
|
%h4= s_('ClusterIntegration|Enable cluster integration')
|
||
|
.settings-content
|
||
|
|
||
|
.hidden.js-cluster-error.alert.alert-danger.alert-block.append-bottom-10{ role: 'alert' }
|
||
|
= s_('ClusterIntegration|Something went wrong while creating your cluster on Google Container Engine')
|
||
|
%p.js-error-reason
|
||
|
|
||
|
.hidden.js-cluster-creating.alert.alert-info.alert-block.append-bottom-10{ role: 'alert' }
|
||
|
= s_('ClusterIntegration|Cluster is being created on Google Container Engine...')
|
||
|
|
||
|
.hidden.js-cluster-success.alert.alert-success.alert-block.append-bottom-10{ role: 'alert' }
|
||
|
= s_('ClusterIntegration|Cluster was successfully created on Google Container Engine. Refresh the page to see cluster\'s details')
|
||
|
|
||
|
%p
|
||
|
- if @cluster.enabled?
|
||
|
- if can?(current_user, :update_cluster, @cluster)
|
||
|
= s_('ClusterIntegration|Cluster integration is enabled for this project. Disabling this integration will not affect your cluster, it will only temporarily turn off GitLab\'s connection to it.')
|
||
|
- else
|
||
|
= s_('ClusterIntegration|Cluster integration is enabled for this project.')
|
||
|
- else
|
||
|
= s_('ClusterIntegration|Cluster integration is disabled for this project.')
|