2019-02-15 15:39:39 +05:30
< script >
2020-10-24 23:57:45 +05:30
import { GlEmptyState , GlLink , GlSprintf } from '@gitlab/ui' ;
import { mapState } from 'vuex' ;
2019-02-15 15:39:39 +05:30
export default {
2020-10-24 23:57:45 +05:30
components : {
GlEmptyState ,
GlLink ,
GlSprintf ,
} ,
computed : {
... mapState ( [ 'clustersPath' , 'emptyImagePath' , 'helpPath' ] ) ,
2019-02-15 15:39:39 +05:30
} ,
} ;
< / script >
< template >
2020-10-24 23:57:45 +05:30
< gl-empty-state
: svg - path = "emptyImagePath"
: title = "s__('Serverless|Getting started with serverless')"
: primary - button - link = "clustersPath"
: primary - button - text = "s__('Serverless|Install Knative')"
>
< template # description >
< gl-sprintf
: message = "
s _ _ (
'Serverless|In order to start using functions as a service, you must first install Knative on your Kubernetes cluster. %{linkStart}More information%{linkEnd}' ,
)
"
>
< template # link = "{ content }" >
< gl-link :href = "helpPath" > { { content } } < / gl-link >
< / template >
< / gl-sprintf >
< / template >
< / gl-empty-state >
2019-02-15 15:39:39 +05:30
< / template >