debian-mirror-gitlab/app/assets/javascripts/runner/components/runner_paused_badge.vue
2022-10-11 01:57:18 +05:30

25 lines
502 B
Vue

<script>
import { GlBadge, GlTooltipDirective } from '@gitlab/ui';
import { I18N_PAUSED, I18N_PAUSED_DESCRIPTION } from '../constants';
export default {
components: {
GlBadge,
},
directives: {
GlTooltip: GlTooltipDirective,
},
I18N_PAUSED,
I18N_PAUSED_DESCRIPTION,
};
</script>
<template>
<gl-badge
v-gl-tooltip="$options.I18N_PAUSED_DESCRIPTION"
variant="warning"
icon="status-paused"
v-bind="$attrs"
>
{{ $options.I18N_PAUSED }}
</gl-badge>
</template>