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

stage_name.vue « graph « components « pipeline_editor « ci « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 600832b763336c87bf9aaf693a87895924bb78c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<script>
import TooltipOnTruncate from '~/vue_shared/components/tooltip_on_truncate/tooltip_on_truncate.vue';

export default {
  components: {
    TooltipOnTruncate,
  },
  props: {
    stageName: {
      type: String,
      required: true,
    },
  },
};
</script>
<template>
  <tooltip-on-truncate :title="stageName" truncate-target="child" placement="top">
    <div class="gl-py-2 gl-text-truncate gl-font-weight-bold gl-w-20">
      {{ stageName }}
    </div>
  </tooltip-on-truncate>
</template>