2021-03-11 19:13:27 +05:30
|
|
|
<script>
|
|
|
|
import { GlLink, GlSprintf } from '@gitlab/ui';
|
2021-06-08 01:23:25 +05:30
|
|
|
import { UPGRADE_CTA } from './constants';
|
2021-03-11 19:13:27 +05:30
|
|
|
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
GlLink,
|
|
|
|
GlSprintf,
|
|
|
|
},
|
2021-04-17 20:07:23 +05:30
|
|
|
inject: {
|
|
|
|
upgradePath: {
|
|
|
|
from: 'upgradePath',
|
|
|
|
default: '#',
|
|
|
|
},
|
|
|
|
},
|
2021-03-11 19:13:27 +05:30
|
|
|
i18n: {
|
|
|
|
UPGRADE_CTA,
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<span>
|
|
|
|
<gl-sprintf :message="$options.i18n.UPGRADE_CTA">
|
|
|
|
<template #link="{ content }">
|
2021-04-17 20:07:23 +05:30
|
|
|
<gl-link target="_blank" :href="upgradePath">
|
2021-03-11 19:13:27 +05:30
|
|
|
{{ content }}
|
|
|
|
</gl-link>
|
|
|
|
</template>
|
|
|
|
</gl-sprintf>
|
|
|
|
</span>
|
|
|
|
</template>
|