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 ...@@ -3,6 +3,7 @@ import userAvatarImage from '../../vue_shared/components/user_avatar/user_avatar
import limitWarning from './limit_warning_component.vue'; import limitWarning from './limit_warning_component.vue';
import totalTime from './total_time_component.vue'; import totalTime from './total_time_component.vue';
import icon from '../../vue_shared/components/icon.vue'; import icon from '../../vue_shared/components/icon.vue';
import { GlIcon } from '@gitlab/ui';
export default { export default {
components: { components: {
...@@ -10,6 +11,7 @@ export default { ...@@ -10,6 +11,7 @@ export default {
totalTime, totalTime,
limitWarning, limitWarning,
icon, icon,
GlIcon,
}, },
props: { props: {
items: { items: {
...@@ -52,7 +54,8 @@ export default { ...@@ -52,7 +54,8 @@ export default {
</span> </span>
<template v-if="mergeRequest.state === 'closed'"> <template v-if="mergeRequest.state === 'closed'">
<span class="merge-request-state"> <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> </span>
</template> </template>
<template v-else> <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