Commit 5253359f authored by Justin Ho's avatar Justin Ho

Replace fa-ban in cycle analytics

With `cancel` from GitLab SVG

Change interpolation to use actual word "CLOSED" to allow
it to be translated.
parent 05684149
......@@ -3,6 +3,7 @@ import userAvatarImage from '../../vue_shared/components/user_avatar/user_avatar
import limitWarning from './limit_warning_component.vue';
import totalTime from './total_time_component.vue';
import icon from '../../vue_shared/components/icon.vue';
import { GlIcon } from '@gitlab/ui';
export default {
components: {
......@@ -10,6 +11,7 @@ export default {
totalTime,
limitWarning,
icon,
GlIcon,
},
props: {
items: {
......@@ -52,7 +54,8 @@ export default {
</span>
<template v-if="mergeRequest.state === 'closed'">
<span class="merge-request-state">
<i class="fa fa-ban" aria-hidden="true"> </i> {{ mergeRequest.state.toUpperCase() }}
<gl-icon name="cancel" class="gl-vertical-align-text-bottom" />
{{ __('CLOSED') }}
</span>
</template>
<template v-else>
......
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