debian-mirror-gitlab/app/assets/javascripts/runner/components/runner_paused_badge.vue

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
502 B
Vue
Raw Normal View History

2021-11-18 22:05:49 +05:30
<script>
import { GlBadge, GlTooltipDirective } from '@gitlab/ui';
2022-10-11 01:57:18 +05:30
import { I18N_PAUSED, I18N_PAUSED_DESCRIPTION } from '../constants';
2021-11-18 22:05:49 +05:30
export default {
components: {
GlBadge,
},
directives: {
GlTooltip: GlTooltipDirective,
},
2022-10-11 01:57:18 +05:30
I18N_PAUSED,
2022-05-07 20:08:51 +05:30
I18N_PAUSED_DESCRIPTION,
2021-11-18 22:05:49 +05:30
};
</script>
<template>
2022-10-11 01:57:18 +05:30
<gl-badge
v-gl-tooltip="$options.I18N_PAUSED_DESCRIPTION"
variant="warning"
icon="status-paused"
v-bind="$attrs"
>
{{ $options.I18N_PAUSED }}
2021-11-18 22:05:49 +05:30
</gl-badge>
</template>