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

upgrade.vue « components « security_configuration « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 518eb57731d05de5373331d0cc067d217c76cfc6 (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';
import { UPGRADE_CTA } from './scanners_constants';

export default {
  components: {
    GlLink,
    GlSprintf,
  },
  inject: {
    upgradePath: {
      from: 'upgradePath',
      default: '#',
    },
  },
  i18n: {
    UPGRADE_CTA,
  },
};
</script>

<template>
  <span>
    <gl-sprintf :message="$options.i18n.UPGRADE_CTA">
      <template #link="{ content }">
        <gl-link target="_blank" :href="upgradePath">
          {{ content }}
        </gl-link>
      </template>
    </gl-sprintf>
  </span>
</template>