Commit 3e15ec54 authored by Taurie Davis's avatar Taurie Davis Committed by Andrew Fontaine

Update ide pipeline alert to use gitlab ui

parent 8b484c35
......@@ -8,6 +8,7 @@ import {
GlTabs,
GlTab,
GlBadge,
GlAlert,
} from '@gitlab/ui';
import { sprintf, __ } from '../../../locale';
import CiIcon from '../../../vue_shared/components/ci_icon.vue';
......@@ -26,6 +27,7 @@ export default {
GlTabs,
GlTab,
GlBadge,
GlAlert,
},
directives: {
SafeHtml,
......@@ -89,11 +91,16 @@ export default {
:can-set-ci="true"
class="mb-auto mt-auto"
/>
<div v-else-if="latestPipeline.yamlError" class="bs-callout bs-callout-danger">
<gl-alert
v-else-if="latestPipeline.yamlError"
variant="danger"
:dismissible="false"
class="gl-mt-5"
>
<p class="gl-mb-0">{{ __('Found errors in your .gitlab-ci.yml:') }}</p>
<p class="gl-mb-0 break-word">{{ latestPipeline.yamlError }}</p>
<p v-safe-html="ciLintText" class="gl-mb-0"></p>
</div>
</gl-alert>
<gl-tabs v-else>
<gl-tab :active="!pipelineFailed">
<template #title>
......
---
title: Update ide pipeline alert to use gitlab ui
merge_request: 49634
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