Commit ed174c1b authored by anna_vovchenko's avatar anna_vovchenko

Implemented changes after FE and UX review

parent 9154ad4a
...@@ -38,7 +38,7 @@ export default { ...@@ -38,7 +38,7 @@ export default {
</script> </script>
<template> <template>
<gl-empty-state :svg-path="emptyStateImage" title="" class="empty-state--agent"> <gl-empty-state :svg-path="emptyStateImage" title="" class="agents-empty-state">
<template #description> <template #description>
<p class="mw-460 gl-mx-auto gl-text-left"> <p class="mw-460 gl-mx-auto gl-text-left">
{{ $options.i18n.introText }} {{ $options.i18n.introText }}
......
<script> <script>
import { GlEmptyState, GlButton, GlLink, GlSprintf } from '@gitlab/ui'; import { GlEmptyState, GlButton, GlLink, GlSprintf } 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';
import { I18N_CLUSTERS_EMPTY_STATE } from '../constants';
export default { export default {
i18n: { i18n: I18N_CLUSTERS_EMPTY_STATE,
description: s__(
'ClusterIntegration|Use certificates to integrate with your clusters to deploy your applications, run your pipelines, use review apps and much more in an easy way.',
),
multipleClustersText: s__(
'ClusterIntegration|If you are setting up multiple clusters and are using Auto DevOps, %{linkStart}read about using multiple Kubernetes clusters first.%{linkEnd}',
),
learnMoreLinkText: s__('ClusterIntegration|Learn more about the GitLab managed clusters'),
buttonText: s__('ClusterIntegration|Integrate with a cluster certificate'),
},
components: { components: {
GlEmptyState, GlEmptyState,
GlButton, GlButton,
......
...@@ -155,5 +155,16 @@ export const I18N_AGENTS_EMPTY_STATE = { ...@@ -155,5 +155,16 @@ export const I18N_AGENTS_EMPTY_STATE = {
), ),
readMoreText: s__('ClusterAgents|Read more about getting started'), readMoreText: s__('ClusterAgents|Read more about getting started'),
repositoryButtonText: s__('ClusterAgents|Go to the repository'), repositoryButtonText: s__('ClusterAgents|Go to the repository'),
primaryButtonText: s__('ClusterAgents|Integrate with the GitLab Agent'), primaryButtonText: s__('ClusterAgents|Connect with a GitLab Agent'),
};
export const I18N_CLUSTERS_EMPTY_STATE = {
description: s__(
'ClusterIntegration|Use certificates to integrate with your clusters to deploy your applications, run your pipelines, use review apps and much more in an easy way.',
),
multipleClustersText: s__(
'ClusterIntegration|If you are setting up multiple clusters and are using Auto DevOps, %{linkStart}read about using multiple Kubernetes clusters first.%{linkEnd}',
),
learnMoreLinkText: s__('ClusterIntegration|Learn more about the GitLab managed clusters'),
buttonText: s__('ClusterIntegration|Connect with a certificate'),
}; };
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
} }
} }
.empty-state--agent { .agents-empty-state {
.text-content { .text-content {
@include gl-max-w-full; @include gl-max-w-full;
@include media-breakpoint-up(lg) { @include media-breakpoint-up(lg) {
......
...@@ -7328,6 +7328,9 @@ msgstr "" ...@@ -7328,6 +7328,9 @@ msgstr ""
msgid "ClusterAgents|Configuration" msgid "ClusterAgents|Configuration"
msgstr "" msgstr ""
msgid "ClusterAgents|Connect with a GitLab Agent"
msgstr ""
msgid "ClusterAgents|Connected" msgid "ClusterAgents|Connected"
msgstr "" msgstr ""
...@@ -7367,9 +7370,6 @@ msgstr "" ...@@ -7367,9 +7370,6 @@ msgstr ""
msgid "ClusterAgents|Install new Agent" msgid "ClusterAgents|Install new Agent"
msgstr "" msgstr ""
msgid "ClusterAgents|Integrate with the GitLab Agent"
msgstr ""
msgid "ClusterAgents|Last connected %{timeAgo}." msgid "ClusterAgents|Last connected %{timeAgo}."
msgstr "" msgstr ""
...@@ -7595,6 +7595,9 @@ msgstr "" ...@@ -7595,6 +7595,9 @@ msgstr ""
msgid "ClusterIntegration|Connect existing cluster" msgid "ClusterIntegration|Connect existing cluster"
msgstr "" msgstr ""
msgid "ClusterIntegration|Connect with a certificate"
msgstr ""
msgid "ClusterIntegration|Connection Error" msgid "ClusterIntegration|Connection Error"
msgstr "" msgstr ""
...@@ -7772,9 +7775,6 @@ msgstr "" ...@@ -7772,9 +7775,6 @@ msgstr ""
msgid "ClusterIntegration|Instance type" msgid "ClusterIntegration|Instance type"
msgstr "" msgstr ""
msgid "ClusterIntegration|Integrate with a cluster certificate"
msgstr ""
msgid "ClusterIntegration|Integration disabled" msgid "ClusterIntegration|Integration disabled"
msgstr "" msgstr ""
......
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