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

source_branch_removal_status.vue « components « vue_merge_request_widget « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6aad2a26a53eae3afc0d4e613b1ed38b6500a1a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<script>
import tooltip from '../../vue_shared/directives/tooltip';
import { __ } from '../../locale';

export default {
  directives: {
    tooltip,
  },
  created() {
    this.removesBranchText = __('<strong>Deletes</strong> source branch');
    this.tooltipTitle = __('A user with write access to the source branch selected this option');
  },
};
</script>

<template>
  <p v-once class="mr-info-list mr-links append-bottom-0">
    <span class="status-text" v-html="removesBranchText"> </span>
    <i v-tooltip :title="tooltipTitle" :aria-label="tooltipTitle" class="fa fa-question-circle">
    </i>
  </p>
</template>