2021-09-04 01:27:46 +05:30
< script >
2023-04-23 21:23:45 +05:30
import { GlEmptyState } from '@gitlab/ui' ;
import { s _ _ } from '~/locale' ;
2021-09-04 01:27:46 +05:30
export default {
name : 'ReleasesEmptyState' ,
components : {
GlEmptyState ,
} ,
2023-04-23 21:23:45 +05:30
inject : [ 'documentationPath' , 'illustrationPath' , 'newReleasePath' ] ,
2021-09-04 01:27:46 +05:30
i18n : {
2023-04-23 21:23:45 +05:30
emptyStateTitle : s _ _ ( 'Release|Getting started with releases' ) ,
emptyStateText : s _ _ (
"Release|Releases are based on Git tags and mark specific points in a project's development history. They can contain information about the type of changes and can also deliver binaries, like compiled versions of your software." ,
2021-09-04 01:27:46 +05:30
) ,
2023-04-23 21:23:45 +05:30
releasesDocumentation : s _ _ ( 'Release|Learn more about releases' ) ,
moreInformation : s _ _ ( 'Release|More information' ) ,
newRelease : s _ _ ( 'Release|Create a new release' ) ,
2021-09-04 01:27:46 +05:30
} ,
} ;
< / script >
< template >
2023-04-23 21:23:45 +05:30
< gl-empty-state
class = "gl-layout-w-limited"
: title = "$options.i18n.emptyStateTitle"
: description = "$options.i18n.emptyStateText"
: svg - path = "illustrationPath"
: primary - button - link = "newReleasePath"
: primary - button - text = "$options.i18n.newRelease"
: secondary - button - link = "documentationPath"
: secondary - button - text = "$options.i18n.releasesDocumentation"
/ >
2021-09-04 01:27:46 +05:30
< / template >