Commit a2a534b8 authored by Robert Hunt's avatar Robert Hunt

Updated the pipeline schedules callout FA icon to use GlIcon close

parent defb965d
......@@ -2,6 +2,7 @@
/* eslint-disable vue/no-v-html */
import Vue from 'vue';
import Cookies from 'js-cookie';
import { GlIcon } from '@gitlab/ui';
import Translate from '../../../../../vue_shared/translate';
// Full path is needed for Jest to be able to correctly mock this file
import illustrationSvg from '~/pages/projects/pipeline_schedules/shared/icons/intro_illustration.svg';
......@@ -13,6 +14,9 @@ const cookieKey = 'pipeline_schedules_callout_dismissed';
export default {
name: 'PipelineSchedulesCallout',
components: {
GlIcon,
},
data() {
return {
docsUrl: document.getElementById('pipeline-schedules-callout').dataset.docsUrl,
......@@ -34,7 +38,7 @@ export default {
<div v-if="!calloutDismissed" class="pipeline-schedules-user-callout user-callout">
<div class="bordered-box landing content-block">
<button id="dismiss-callout-btn" class="btn btn-default close" @click="dismissCallout">
<i aria-hidden="true" class="fa fa-times"> </i>
<gl-icon name="close" aria-hidden="true" />
</button>
<div class="svg-container" v-html="illustrationSvg"></div>
<div class="user-callout-copy">
......
---
title: Replace fa-times with GitLab SVG close icon in promotions
merge_request: 40586
author:
type: performance
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