Commit 6a84e4f9 authored by Jacques Erasmus's avatar Jacques Erasmus

Merge branch 'Update-markup-in-clusters-banners-haml-file' into 'master'

Update markup in clusters/_banner.html.haml

See merge request gitlab-org/gitlab!63161
parents 8fc42807 6fb67718
...@@ -6,17 +6,19 @@ ...@@ -6,17 +6,19 @@
%span.gl-spinner.gl-spinner-dark{ 'aria-label': 'Loading' } %span.gl-spinner.gl-spinner-dark{ 'aria-label': 'Loading' }
%span.gl-ml-2= s_('ClusterIntegration|Kubernetes cluster is being created...') %span.gl-ml-2= s_('ClusterIntegration|Kubernetes cluster is being created...')
.hidden.row.js-cluster-api-unreachable.gl-alert.gl-alert-warning{ role: 'alert' } = render 'shared/global_alert',
= sprite_icon('warning', css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title') variant: :warning,
%button.js-close.gl-alert-dismiss{ type: 'button', 'aria-label' => _('Dismiss') } alert_class: 'hidden js-cluster-api-unreachable',
= sprite_icon('close', css_class: 'gl-icon') is_contained: true,
close_button_class: 'js-close' do
.gl-alert-body .gl-alert-body
= s_('ClusterIntegration|Your cluster API is unreachable. Please ensure your API URL is correct.') = s_('ClusterIntegration|Your cluster API is unreachable. Please ensure your API URL is correct.')
.hidden.js-cluster-authentication-failure.js-cluster-api-unreachable.gl-alert.gl-alert-warning{ role: 'alert' } = render 'shared/global_alert',
= sprite_icon('warning', css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title') variant: :warning,
%button.js-close.gl-alert-dismiss{ type: 'button', 'aria-label' => _('Dismiss') } alert_class: 'hidden js-cluster-authentication-failure js-cluster-api-unreachable',
= sprite_icon('close', css_class: 'gl-icon') is_contained: true,
close_button_class: 'js-close' do
.gl-alert-body .gl-alert-body
= s_('ClusterIntegration|There was a problem authenticating with your cluster. Please ensure your CA Certificate and Token are valid.') = s_('ClusterIntegration|There was a problem authenticating with your cluster. Please ensure your CA Certificate and Token are valid.')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment