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

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

export default {
  components: { GlAlert, GlLink, GlSprintf },
  props: {
    shareFeedbackUrl: {
      required: true,
      type: String,
    },
    reportBugUrl: {
      required: true,
      type: String,
    },
    featureRequestUrl: {
      required: true,
      type: String,
    },
  },
};
</script>

<template>
  <gl-alert :dismissible="false" variant="info">
    {{ __('This is an experimental feature developed by GitLab Incubation Engineering.') }}
    <gl-sprintf
      :message="
        __(
          'We invite you to %{featureLinkStart}request a feature%{featureLinkEnd}, %{bugLinkStart}report a bug%{bugLinkEnd} or %{feedbackLinkStart}share feedback%{feedbackLinkEnd}',
        )
      "
    >
      <template #featureLink="{ content }">
        <gl-link :href="featureRequestUrl">{{ content }}</gl-link>
      </template>
      <template #bugLink="{ content }">
        <gl-link :href="reportBugUrl">{{ content }}</gl-link>
      </template>
      <template #feedbackLink="{ content }">
        <gl-link :href="shareFeedbackUrl">{{ content }}</gl-link>
      </template>
    </gl-sprintf>
  </gl-alert>
</template>