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

usage_quotas_app.vue « components « usage_quotas « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9322171cad87971e6b5d2b91bd63f6a609f14662 (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
<script>
import { GlSprintf, GlTab, GlTabs } from '@gitlab/ui';
import { USAGE_QUOTAS_TITLE, USAGE_QUOTAS_SUBTITLE } from '../constants';

export default {
  name: 'UsageQuotasApp',
  components: { GlSprintf, GlTab, GlTabs },
  inject: ['namespaceName'],
  computed: {
    placeholder() {
      return `storage_app_placeholder`;
    },
  },
  USAGE_QUOTAS_TITLE,
  USAGE_QUOTAS_SUBTITLE,
};
</script>

<template>
  <section>
    <h1>{{ $options.USAGE_QUOTAS_TITLE }}</h1>
    <p data-testid="usage-quotas-page-subtitle">
      <gl-sprintf :message="$options.USAGE_QUOTAS_SUBTITLE">
        <template #namespaceName>
          <strong>
            {{ namespaceName }}
          </strong>
        </template>
      </gl-sprintf>
    </p>
    <gl-tabs>
      <gl-tab title="Storage"> {{ placeholder }} </gl-tab>
    </gl-tabs>
  </section>
</template>