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: 32ae0cc1476b05c9721f62e07de20dd3cc12c371 (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
<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 pull-right"
  >
    <i
      class="fa fa-warning"
      v-tooltip
      aria-hidden="true"
      :title="n__(
        'Limited to showing %d event at most',
        'Limited to showing %d events at most',
        50
      )"
      data-placement="top"
    >
    </i>
    {{ n__('Showing %d event', 'Showing %d events', 50) }}
  </span>
</template>