Commit 689fc98c authored by anna_vovchenko's avatar anna_vovchenko Committed by Nicolò Maria Mezzopera

Implemented suggestions after FE review

parent e5b5739f
<script> <script>
import { GlEmptyState, GlButton, GlLink } from '@gitlab/ui'; import { GlEmptyState, GlButton, GlLink } from '@gitlab/ui';
import { mapState } from 'vuex'; import { mapState } from 'vuex';
import { s__ } from '~/locale';
import { helpPagePath } from '~/helpers/help_page_helper'; import { helpPagePath } from '~/helpers/help_page_helper';
export default { export default {
i18n: {
title: s__('ClusterIntegration|Integrate Kubernetes with a cluster certificate'),
description: s__(
'ClusterIntegration|Kubernetes clusters allow you to use review apps, deploy your applications, run your pipelines, and much more in an easy way.',
),
learnMoreLinkText: s__('ClusterIntegration|Learn more about Kubernetes'),
buttonText: s__('ClusterIntegration|Integrate with a cluster certificate'),
},
components: { components: {
GlEmptyState, GlEmptyState,
GlButton, GlButton,
...@@ -18,17 +27,10 @@ export default { ...@@ -18,17 +27,10 @@ export default {
</script> </script>
<template> <template>
<gl-empty-state <gl-empty-state :svg-path="clustersEmptyStateImage" :title="$options.i18n.title">
:svg-path="clustersEmptyStateImage"
:title="s__('ClusterIntegration|Integrate Kubernetes with a cluster certificate')"
>
<template #description> <template #description>
<p> <p>
{{ {{ $options.i18n.description }}
s__(
'ClusterIntegration|Kubernetes clusters allow you to use review apps, deploy your applications, run your pipelines, and much more in an easy way.',
)
}}
</p> </p>
<p v-if="emptyStateHelpText" data-testid="clusters-empty-state-text"> <p v-if="emptyStateHelpText" data-testid="clusters-empty-state-text">
...@@ -37,7 +39,7 @@ export default { ...@@ -37,7 +39,7 @@ export default {
<p> <p>
<gl-link :href="$options.learnMoreHelpUrl" target="_blank" data-testid="clusters-docs-link"> <gl-link :href="$options.learnMoreHelpUrl" target="_blank" data-testid="clusters-docs-link">
{{ s__('ClusterIntegration|Learn more about Kubernetes') }} {{ $options.i18n.learnMoreLinkText }}
</gl-link> </gl-link>
</p> </p>
</template> </template>
...@@ -51,7 +53,7 @@ export default { ...@@ -51,7 +53,7 @@ export default {
:disabled="!canAddCluster" :disabled="!canAddCluster"
:href="newClusterPath" :href="newClusterPath"
> >
{{ s__('ClusterIntegration|Integrate with a cluster certificate') }} {{ $options.i18n.buttonText }}
</gl-button> </gl-button>
</template> </template>
</gl-empty-state> </gl-empty-state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment