summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/jobs/components/unmet_prerequisites_block.vue
blob: 633561c879e93380a46afa2d14ad090131ee7d97 (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
<script>
import { GlLink } from '@gitlab/ui';
/**
 * Renders Unmet Prerequisites block for job's view.
 */
export default {
  components: {
    GlLink,
  },
  props: {
    helpPath: {
      type: String,
      required: true,
    },
  },
};
</script>
<template>
  <div class="bs-callout bs-callout-danger">
    <p class="js-failed-unmet-prerequisites gl-mb-0">
      {{
        s__(`Job|This job failed because the necessary resources were not successfully created.`)
      }}

      <gl-link :href="helpPath" class="js-help-path">
        <strong> {{ __('More information') }} </strong>
      </gl-link>
    </p>
  </div>
</template>