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

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

export default {
  components: {
    GlLink,
    GlSprintf,
  },
  props: {
    message: {
      type: String,
      required: true,
    },
    link: {
      type: String,
      required: true,
    },
  },
};
</script>

<template>
  <span>
    <gl-sprintf :message="message">
      <template #link="{ content }">
        <gl-link class="gl-display-inline-block" :href="link" target="_blank">{{
          content
        }}</gl-link>
      </template>
    </gl-sprintf>
  </span>
</template>