Welcome to mirror list, hosted at ThFree Co, Russian Federation.

runner_edit_button.vue « components « runner « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b115be09e69443ef03f8bacd4f8cbdb75623e886 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<script>
import { GlButton, GlTooltipDirective } from '@gitlab/ui';
import { __ } from '~/locale';

const I18N_EDIT = __('Edit');

export default {
  components: {
    GlButton,
  },
  directives: {
    GlTooltip: GlTooltipDirective,
  },
  I18N_EDIT,
};
</script>

<template>
  <gl-button
    v-gl-tooltip="$options.I18N_EDIT"
    v-bind="$attrs"
    :aria-label="$options.I18N_EDIT"
    icon="pencil"
    v-on="$listeners"
  />
</template>