2017-09-26 10:47:19 +00:00
|
|
|
<script>
|
|
|
|
import tooltip from '../../vue_shared/directives/tooltip';
|
|
|
|
|
|
|
|
export default {
|
2018-01-05 12:56:55 +00:00
|
|
|
directives: {
|
|
|
|
tooltip,
|
|
|
|
},
|
2017-09-26 10:47:19 +00:00
|
|
|
props: {
|
|
|
|
count: {
|
|
|
|
type: Number,
|
|
|
|
required: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
<template>
|
2018-01-05 12:56:55 +00:00
|
|
|
<span
|
|
|
|
v-if="count === 50"
|
2018-04-09 17:42:45 +00:00
|
|
|
class="events-info float-right"
|
2018-01-05 12:56:55 +00:00
|
|
|
>
|
2017-09-26 10:47:19 +00:00
|
|
|
<i
|
|
|
|
class="fa fa-warning"
|
|
|
|
v-tooltip
|
|
|
|
aria-hidden="true"
|
2018-01-05 12:56:55 +00:00
|
|
|
:title="n__(
|
|
|
|
'Limited to showing %d event at most',
|
|
|
|
'Limited to showing %d events at most',
|
|
|
|
50
|
|
|
|
)"
|
|
|
|
data-placement="top"
|
|
|
|
>
|
|
|
|
</i>
|
2017-09-26 10:47:19 +00:00
|
|
|
{{ n__('Showing %d event', 'Showing %d events', 50) }}
|
|
|
|
</span>
|
|
|
|
</template>
|