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

project_cell.vue « cells « components « jobs_table « admin « ci « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9d516fc267d7ca5e37f776e2b200d0f8ca3d5f8d (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
27
28
<script>
import { GlLink } from '@gitlab/ui';

export default {
  components: {
    GlLink,
  },
  props: {
    job: {
      type: Object,
      required: true,
    },
  },
  computed: {
    projectName() {
      return this.job.pipeline?.project?.fullPath;
    },
    projectUrl() {
      return this.job.pipeline?.project?.webUrl;
    },
  },
};
</script>
<template>
  <div class="gl-text-truncate">
    <gl-link :href="projectUrl" data-testid="job-project-link">{{ projectName }}</gl-link>
  </div>
</template>