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

clusters_deprecation_alert.vue « components « clusters_deprecation_alert « projects « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e026b3e106023436a113f2df9495effdf2c88873 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<script>
import { GlAlert, GlSprintf, GlLink } from '@gitlab/ui';
import { helpPagePath } from '~/helpers/help_page_helper';

export default {
  components: {
    GlAlert,
    GlSprintf,
    GlLink,
  },
  inject: ['message'],
  docsLink: helpPagePath('user/infrastructure/clusters/migrate_to_gitlab_agent.md'),
};
</script>
<template>
  <gl-alert :dismissible="false" variant="warning" class="gl-mt-5">
    <gl-sprintf :message="message">
      <template #link="{ content }">
        <gl-link :href="$options.docsLink">{{ content }}</gl-link>
      </template>
    </gl-sprintf>
  </gl-alert>
</template>