Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
689fc98c
Commit
689fc98c
authored
Oct 28, 2021
by
anna_vovchenko
Committed by
Nicolò Maria Mezzopera
Oct 29, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented suggestions after FE review
parent
e5b5739f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
app/assets/javascripts/clusters_list/components/clusters_empty_state.vue
...scripts/clusters_list/components/clusters_empty_state.vue
+13
-11
No files found.
app/assets/javascripts/clusters_list/components/clusters_empty_state.vue
View file @
689fc98c
<
script
>
import
{
GlEmptyState
,
GlButton
,
GlLink
}
from
'
@gitlab/ui
'
;
import
{
mapState
}
from
'
vuex
'
;
import
{
s__
}
from
'
~/locale
'
;
import
{
helpPagePath
}
from
'
~/helpers/help_page_helper
'
;
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
:
{
GlEmptyState
,
GlButton
,
...
...
@@ -18,17 +27,10 @@ export default {
</
script
>
<
template
>
<gl-empty-state
:svg-path=
"clustersEmptyStateImage"
:title=
"s__('ClusterIntegration|Integrate Kubernetes with a cluster certificate')"
>
<gl-empty-state
:svg-path=
"clustersEmptyStateImage"
:title=
"$options.i18n.title"
>
<template
#description
>
<p>
{{
s__
(
'
ClusterIntegration|Kubernetes clusters allow you to use review apps, deploy your applications, run your pipelines, and much more in an easy way.
'
,
)
}}
{{
$options
.
i18n
.
description
}}
</p>
<p
v-if=
"emptyStateHelpText"
data-testid=
"clusters-empty-state-text"
>
...
...
@@ -37,7 +39,7 @@ export default {
<p>
<gl-link
:href=
"$options.learnMoreHelpUrl"
target=
"_blank"
data-testid=
"clusters-docs-link"
>
{{
s__
(
'
ClusterIntegration|Learn more about Kubernetes
'
)
}}
{{
$options
.
i18n
.
learnMoreLinkText
}}
</gl-link>
</p>
</
template
>
...
...
@@ -51,7 +53,7 @@ export default {
:disabled=
"!canAddCluster"
:href=
"newClusterPath"
>
{{
s__
(
'
ClusterIntegration|Integrate with a cluster certificate
'
)
}}
{{
$options
.
i18n
.
buttonText
}}
</gl-button>
</
template
>
</gl-empty-state>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment