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

limit_warning_component.vue « components « cycle_analytics « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 16bc900867a1ea81eb46f0fc951fb1b34e3f32bc (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 tooltip from '../../vue_shared/directives/tooltip';

export default {
  directives: {
    tooltip,
  },
  props: {
    count: {
      type: Number,
      required: true,
    },
  },
};
</script>
<template>
  <span v-if="count === 50" class="events-info float-right">
    <i
      v-tooltip
      :title="
        n__('Limited to showing %d event at most', 'Limited to showing %d events at most', 50)
      "
      class="fa fa-warning"
      aria-hidden="true"
      data-placement="top"
    >
    </i>
    {{ n__('Showing %d event', 'Showing %d events', 50) }}
  </span>
</template>