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

pipeline_schedule_owner.vue « cells « table « components « pipeline_schedules « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e7fa94eb7fcbae4a191f13e5570130360bc35123 (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
29
<script>
import { GlAvatar, GlAvatarLink } from '@gitlab/ui';

export default {
  components: {
    GlAvatar,
    GlAvatarLink,
  },
  props: {
    schedule: {
      type: Object,
      required: true,
    },
  },
  computed: {
    owner() {
      return this.schedule.owner;
    },
  },
};
</script>

<template>
  <div>
    <gl-avatar-link :href="owner.webPath" :title="owner.name" class="gl-ml-3">
      <gl-avatar :size="32" :src="owner.avatarUrl" />
    </gl-avatar-link>
  </div>
</template>