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

empty_state.vue « components « serverless « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8a5ed9debb30c31b1d7ce276a159ff017fd0f8f9 (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, GlLink, GlSprintf } from '@gitlab/ui';
import { mapState } from 'vuex';

export default {
  components: {
    GlEmptyState,
    GlLink,
    GlSprintf,
  },
  computed: {
    ...mapState(['emptyImagePath', 'helpPath']),
  },
};
</script>

<template>
  <gl-empty-state
    :svg-path="emptyImagePath"
    :title="s__('Serverless|Getting started with serverless')"
  >
    <template #description>
      <gl-sprintf
        :message="
          s__(
            'Serverless|In order to start using functions as a service, you must first install Knative on your Kubernetes cluster. %{linkStart}More information%{linkEnd}',
          )
        "
      >
        <template #link="{ content }">
          <gl-link :href="helpPath">{{ content }}</gl-link>
        </template>
      </gl-sprintf>
    </template>
  </gl-empty-state>
</template>