summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/analytics/shared/components/value_streams_dashboard_link.vue
blob: 59c14f5e2acb07614e9eabe1f45a1162019e5a20 (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 { GlIcon, GlLink } from '@gitlab/ui';
import { __ } from '~/locale';

export default {
  name: 'ValueStreamsDashboardLink',
  components: { GlIcon, GlLink },
  props: {
    requestPath: {
      type: String,
      required: true,
    },
  },
  i18n: {
    title: __('Related'),
    linkText: __('Value Streams Dashboard | DORA'),
  },
};
</script>
<template>
  <div class="gl-display-flex gl-flex-direction-column">
    <div class="gl-display-flex gl-mb-2">
      <span>{{ $options.i18n.title }}</span>
    </div>
    <div class="gl-display-flex gl-align-items-baseline">
      <gl-link :href="requestPath">{{ $options.i18n.linkText }}</gl-link
      >&nbsp;<gl-icon name="dashboard" />
    </div>
  </div>
</template>