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

empty_state.vue « components « terraform « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fd9177bef3f263d1fe9e9f3c59b5169e9b3feab5 (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
36
<script>
import { GlEmptyState, GlIcon, GlLink } from '@gitlab/ui';
import { helpPagePath } from '~/helpers/help_page_helper';

export default {
  components: {
    GlEmptyState,
    GlIcon,
    GlLink,
  },
  props: {
    image: {
      type: String,
      required: true,
    },
  },
  computed: {
    docsUrl() {
      return helpPagePath('user/infrastructure/iac/terraform_state');
    },
  },
};
</script>

<template>
  <gl-empty-state :svg-path="image" :title="s__('Terraform|Get started with Terraform')">
    <template #description>
      <p>
        <gl-link :href="docsUrl" target="_blank"
          >{{ s__('Terraform|How to use GitLab-managed Terraform State?') }}
          <gl-icon name="external-link"
        /></gl-link>
      </p>
    </template>
  </gl-empty-state>
</template>