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

details_header.vue « details_page « components « explorer « registry « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ff613daf7fa5cafffa9cb80381f492a5449da59c (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
<script>
import { GlSprintf } from '@gitlab/ui';
import TitleArea from '~/vue_shared/components/registry/title_area.vue';
import { DETAILS_PAGE_TITLE } from '../../constants/index';

export default {
  components: { GlSprintf, TitleArea },
  props: {
    imageName: {
      type: String,
      required: false,
      default: '',
    },
  },
  i18n: {
    DETAILS_PAGE_TITLE,
  },
};
</script>

<template>
  <title-area>
    <template #title>
      <gl-sprintf :message="$options.i18n.DETAILS_PAGE_TITLE">
        <template #imageName>
          {{ imageName }}
        </template>
      </gl-sprintf>
    </template>
  </title-area>
</template>