summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/registry/explorer/components/list_page/group_empty_state.vue
blob: 80cc392f86a9084743752263c5472335abcdde72 (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
34
35
36
37
38
<script>
import { GlEmptyState, GlSprintf, GlLink } from '@gitlab/ui';
import { mapState } from 'vuex';

export default {
  name: 'GroupEmptyState',
  components: {
    GlEmptyState,
    GlSprintf,
    GlLink,
  },
  computed: {
    ...mapState(['config']),
  },
};
</script>
<template>
  <gl-empty-state
    :title="s__('ContainerRegistry|There are no container images available in this group')"
    :svg-path="config.noContainersImage"
  >
    <template #description>
      <p>
        <gl-sprintf
          :message="
            s__(
              `ContainerRegistry|With the Container Registry, every project can have its own space to store its Docker images. Push at least one Docker image in one of this group's projects in order to show up here. %{docLinkStart}More Information%{docLinkEnd}`,
            )
          "
        >
          <template #docLink="{content}">
            <gl-link :href="config.helpPagePath" target="_blank">{{ content }}</gl-link>
          </template>
        </gl-sprintf>
      </p>
    </template>
  </gl-empty-state>
</template>