Commit 79573b91 authored by Phil Hughes's avatar Phil Hughes

Merge branch '242023-knative-alert' into 'master'

Convert Knative failed update alert to use gitlab-ui

See merge request gitlab-org/gitlab!47840
parents 50fc589c ac01121e
...@@ -7,6 +7,7 @@ import { ...@@ -7,6 +7,7 @@ import {
GlSearchBoxByType, GlSearchBoxByType,
GlSprintf, GlSprintf,
GlButton, GlButton,
GlAlert,
} from '@gitlab/ui'; } from '@gitlab/ui';
import ClipboardButton from '../../vue_shared/components/clipboard_button.vue'; import ClipboardButton from '../../vue_shared/components/clipboard_button.vue';
import { __, s__ } from '~/locale'; import { __, s__ } from '~/locale';
...@@ -25,6 +26,7 @@ export default { ...@@ -25,6 +26,7 @@ export default {
GlDropdownItem, GlDropdownItem,
GlSearchBoxByType, GlSearchBoxByType,
GlSprintf, GlSprintf,
GlAlert,
}, },
props: { props: {
knative: { knative: {
...@@ -106,12 +108,13 @@ export default { ...@@ -106,12 +108,13 @@ export default {
<template> <template>
<div class="row"> <div class="row">
<div <gl-alert
v-if="knative.updateFailed" v-if="knative.updateFailed"
class="bs-callout bs-callout-danger cluster-application-banner col-12 mt-2 mb-2 js-cluster-knative-domain-name-failure-message" class="gl-mb-5 col-12 js-cluster-knative-domain-name-failure-message"
variant="danger"
> >
{{ s__('ClusterIntegration|Something went wrong while updating Knative domain name.') }} {{ s__('ClusterIntegration|Something went wrong while updating Knative domain name.') }}
</div> </gl-alert>
<div <div
:class="{ 'col-md-6': knativeInstalled, 'col-12': !knativeInstalled }" :class="{ 'col-md-6': knativeInstalled, 'col-12': !knativeInstalled }"
......
...@@ -58,22 +58,6 @@ ...@@ -58,22 +58,6 @@
} }
} }
.cluster-application-banner {
height: 45px;
display: flex;
align-items: center;
justify-content: space-between;
}
.cluster-application-banner-close {
align-self: flex-start;
font-weight: 500;
font-size: 20px;
color: $orange-500;
opacity: 1;
margin: $gl-padding-8 14px 0 0;
}
.cluster-application-description { .cluster-application-description {
flex: 1; flex: 1;
} }
......
---
title: Convert knative error alert to glalert
merge_request: 47840
author:
type: changed
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