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

deployment_job.vue « components « environment_details « environments « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dbe25a81550b92ad31f7d9d9113e764364c1f5b0 (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
<script>
import { GlTruncate, GlLink, GlBadge } from '@gitlab/ui';

export default {
  components: {
    GlBadge,
    GlTruncate,
    GlLink,
  },
  props: {
    job: {
      type: Object,
      required: false,
      default: null,
    },
  },
};
</script>
<template>
  <gl-link v-if="job" :href="job.webPath">
    <gl-truncate :text="job.label" />
  </gl-link>
  <gl-badge v-else variant="info">{{ __('API') }}</gl-badge>
</template>