summaryrefslogtreecommitdiff
path: root/app/views/clusters/clusters/_banner.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/clusters/clusters/_banner.html.haml')
-rw-r--r--app/views/clusters/clusters/_banner.html.haml12
1 files changed, 4 insertions, 8 deletions
diff --git a/app/views/clusters/clusters/_banner.html.haml b/app/views/clusters/clusters/_banner.html.haml
index 6fb3f26ff4f..b7d1aa6f944 100644
--- a/app/views/clusters/clusters/_banner.html.haml
+++ b/app/views/clusters/clusters/_banner.html.haml
@@ -6,17 +6,13 @@
%span.gl-spinner.gl-spinner-dark{ 'aria-label': 'Loading' }
%span.gl-ml-2= s_('ClusterIntegration|Kubernetes cluster is being created...')
-= render 'shared/global_alert',
- variant: :warning,
- alert_class: 'hidden js-cluster-api-unreachable',
- close_button_class: 'js-close' do
+= render Pajamas::AlertComponent.new(variant: :warning,
+ alert_class: 'hidden js-cluster-api-unreachable') do
.gl-alert-body
= s_('ClusterIntegration|Your cluster API is unreachable. Please ensure your API URL is correct.')
-= render 'shared/global_alert',
- variant: :warning,
- alert_class: 'hidden js-cluster-authentication-failure js-cluster-api-unreachable',
- close_button_class: 'js-close' do
+= render Pajamas::AlertComponent.new(variant: :warning,
+ alert_class: 'hidden js-cluster-authentication-failure js-cluster-api-unreachable') do
.gl-alert-body
= s_('ClusterIntegration|There was a problem authenticating with your cluster. Please ensure your CA Certificate and Token are valid.')