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>
|