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

dropdown_footer.vue « labels_select « sidebar « components « vue_shared « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ebbd8d119b52014b97c63f291ca06fe3d66e5dcd (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
<script>
import { __ } from '~/locale';

export default {
  props: {
    labelsWebUrl: {
      type: String,
      required: true,
    },
    createLabelTitle: {
      type: String,
      required: false,
      default: () => __('Create new label'),
    },
    manageLabelsTitle: {
      type: String,
      required: false,
      default: () => __('Manage labels'),
    },
  },
};
</script>

<template>
  <div class="dropdown-footer">
    <ul class="dropdown-footer-list">
      <li>
        <a href="#" class="dropdown-toggle-page"> {{ createLabelTitle }} </a>
      </li>
      <li>
        <a :href="labelsWebUrl" data-is-link="true" class="dropdown-external-link">
          {{ manageLabelsTitle }}
        </a>
      </li>
    </ul>
  </div>
</template>