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

unmet_prerequisites_block.vue « job « components « jobs « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c9747ca9f02604ffce3e8df35e1d9335138c55b5 (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 { GlLink, GlAlert } from '@gitlab/ui';
import { __, s__ } from '~/locale';
/**
 * Renders Unmet Prerequisites block for job's view.
 */
export default {
  i18n: {
    failMessage: s__(
      'Job|This job failed because the necessary resources were not successfully created.',
    ),
    moreInformation: __('More information'),
  },
  components: {
    GlLink,
    GlAlert,
  },
  props: {
    helpPath: {
      type: String,
      required: true,
    },
  },
};
</script>
<template>
  <gl-alert variant="danger" class="gl-mt-3" :dismissible="false">
    {{ $options.i18n.failMessage }}
    <gl-link :href="helpPath">
      {{ $options.i18n.moreInformation }}
    </gl-link>
  </gl-alert>
</template>