summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/issue_show/components/pinned_links.vue
blob: 4b50acceb623d548097baf9596ae2a899c57cd60 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<script>
import { GlLink } from '@gitlab/ui';
import Icon from '~/vue_shared/components/icon.vue';

export default {
  components: {
    Icon,
    GlLink,
  },
  props: {
    zoomMeetingUrl: {
      type: String,
      required: false,
      default: '',
    },
    publishedIncidentUrl: {
      type: String,
      required: false,
      default: '',
    },
  },
};
</script>

<template>
  <div class="border-bottom gl-mb-6 gl-display-flex gl-justify-content-start">
    <div v-if="publishedIncidentUrl" class="gl-pr-3">
      <gl-link
        :href="publishedIncidentUrl"
        target="_blank"
        class="btn btn-inverted btn-secondary btn-sm text-dark mb-3"
        data-testid="publishedIncidentUrl"
      >
        <icon name="tanuki" :size="14" />
        <strong class="vertical-align-top">{{ __('Published on status page') }}</strong>
      </gl-link>
    </div>
    <div v-if="zoomMeetingUrl">
      <gl-link
        :href="zoomMeetingUrl"
        target="_blank"
        class="btn btn-inverted btn-secondary btn-sm text-dark mb-3"
        data-testid="zoomMeetingUrl"
      >
        <icon name="brand-zoom" :size="14" />
        <strong class="vertical-align-top">{{ __('Join Zoom meeting') }}</strong>
      </gl-link>
    </div>
  </div>
</template>