blob: 6f08b3194083fccde0cc32e9e2b4a8d112eba7ad (
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
|
<script>
import { GlEmptyState, GlSprintf } from '@gitlab/ui';
import { translations, codeBlockPlaceholders, environmentsHelpPagePath } from './constants';
export default {
components: {
GlSprintf,
GlEmptyState,
},
translations,
actionButtonUrl: environmentsHelpPagePath,
placeholders: {
code: codeBlockPlaceholders,
},
};
</script>
<template>
<gl-empty-state
:title="$options.translations.emptyStateTitle"
:primary-button-text="$options.translations.emptyStatePrimaryButton"
:primary-button-link="$options.actionButtonUrl"
>
<template #description>
<gl-sprintf
:message="$options.translations.emptyStateDescription"
:placeholders="$options.placeholders.code"
>
<template #code="{ content }">
<code>{{ content }}</code>
</template>
</gl-sprintf>
</template>
</gl-empty-state>
</template>
|