Welcome to mirror list, hosted at ThFree Co, Russian Federation.

releases_empty_state.vue « components « releases « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ae94bd6872e2135d4ee1d17036db00f203e6ad8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<script>
import { GlEmptyState } from '@gitlab/ui';
import { s__ } from '~/locale';

export default {
  name: 'ReleasesEmptyState',
  components: {
    GlEmptyState,
  },
  inject: ['documentationPath', 'illustrationPath', 'newReleasePath'],
  i18n: {
    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.",
    ),
    releasesDocumentation: s__('Release|Learn more about releases'),
    moreInformation: s__('Release|More information'),
    newRelease: s__('Release|Create a new release'),
  },
};
</script>
<template>
  <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"
  />
</template>