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: 4c44aac4e2aef170ce28d6f299c40fb84346c547 (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
<script>
import { GlIcon, GlTooltipDirective } from '@gitlab/ui';

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