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

upgrade_banner.vue « components « security_configuration « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ca0f9e5c85affb6811e6aadd81bbcb3e1cbd9229 (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
37
38
39
40
41
42
43
44
45
<script>
import { GlBanner } from '@gitlab/ui';
import { s__ } from '~/locale';

export default {
  components: {
    GlBanner,
  },
  inject: ['upgradePath'],
  i18n: {
    title: s__('SecurityConfiguration|Secure your project with Ultimate'),
    bodyStart: s__(
      `SecurityConfiguration|GitLab Ultimate checks your application for security vulnerabilities
      that may lead to unauthorized access, data leaks, and denial of service
      attacks. Its features include:`,
    ),
    bodyListItems: [
      s__('SecurityConfiguration|Vulnerability details and statistics in the merge request.'),
      s__('SecurityConfiguration|High-level vulnerability statistics across projects and groups.'),
      s__('SecurityConfiguration|Runtime security metrics for application environments.'),
    ],
    bodyEnd: s__(
      'SecurityConfiguration|With the information provided, you can immediately begin risk analysis and remediation within GitLab.',
    ),
    buttonText: s__('SecurityConfiguration|Upgrade or start a free trial'),
  },
};
</script>

<template>
  <gl-banner
    :title="$options.i18n.title"
    :button-text="$options.i18n.buttonText"
    :button-link="upgradePath"
    v-on="$listeners"
  >
    <p>{{ $options.i18n.bodyStart }}</p>
    <ul>
      <li v-for="bodyListItem in $options.i18n.bodyListItems" :key="bodyListItem">
        {{ bodyListItem }}
      </li>
    </ul>
    <p>{{ $options.i18n.bodyEnd }}</p>
  </gl-banner>
</template>