blob: ac9a3c3f82ca31415a72971d3e36b7b8350ba03a (
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 { GlSprintf, GlLink } from '@gitlab/ui';
import { helpPagePath } from '~/helpers/help_page_helper';
import { __ } from '~/locale';
export default {
components: { GlSprintf, GlLink },
message: __(
"No deployments detected. Use environments to control your software's continuous deployment. %{linkStart}Learn more about deployment jobs.%{linkEnd}",
),
computed: {
helpLink() {
return helpPagePath('ci/environments/index.md');
},
},
};
</script>
<template>
<span>
<gl-sprintf :message="$options.message">
<template #link="{ content }">
<gl-link
:href="helpLink"
target="_blank"
data-track-action="click_link"
data-track-experiment="in_product_guidance_environments_webide"
>{{ content }}</gl-link
>
</template>
</gl-sprintf>
</span>
</template>
|