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

expiration_run_text.vue « components « settings « registry « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 186ad2f34b95bb4cdc41b076a4723a37dae805b1 (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 { GlFormGroup, GlFormInput } from '@gitlab/ui';
import { NEXT_CLEANUP_LABEL, NOT_SCHEDULED_POLICY_TEXT } from '~/registry/settings/constants';

export default {
  components: {
    GlFormGroup,
    GlFormInput,
  },
  props: {
    value: {
      type: String,
      required: false,
      default: NOT_SCHEDULED_POLICY_TEXT,
    },
  },
  i18n: {
    NEXT_CLEANUP_LABEL,
  },
};
</script>

<template>
  <gl-form-group
    id="expiration-policy-info-text-group"
    :label="$options.i18n.NEXT_CLEANUP_LABEL"
    label-for="expiration-policy-info-text"
  >
    <gl-form-input id="expiration-policy-info-text" class="gl-pl-0!" plaintext :value="value" />
  </gl-form-group>
</template>