summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/registry/explorer/components/details_page/empty_tags_state.vue
blob: 0c684d124d57e10916f6baf61460acc86f2766f8 (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 {
  EMPTY_IMAGE_REPOSITORY_TITLE,
  EMPTY_IMAGE_REPOSITORY_MESSAGE,
} from '../../constants/index';

export default {
  components: {
    GlEmptyState,
  },
  props: {
    noContainersImage: {
      type: String,
      required: false,
      default: '',
    },
  },
  i18n: {
    EMPTY_IMAGE_REPOSITORY_TITLE,
    EMPTY_IMAGE_REPOSITORY_MESSAGE,
  },
};
</script>

<template>
  <gl-empty-state
    :title="$options.i18n.EMPTY_IMAGE_REPOSITORY_TITLE"
    :svg-path="noContainersImage"
    :description="$options.i18n.EMPTY_IMAGE_REPOSITORY_MESSAGE"
    class="gl-mx-auto gl-my-0"
  />
</template>