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: a67a225e20a1f42fe7852434d7028b21605711fd (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
<script>
import { GlTooltipDirective } from '@gitlab-org/gitlab-ui';

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