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.

20 lines
434 B
Vue
Raw Normal View History

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