limit_warning_component.js 466 Bytes
Newer Older
1 2 3 4 5 6 7 8
export default {
  props: {
    count: {
      type: Number,
      required: true,
    },
  },
  template: `
Phil Hughes's avatar
Phil Hughes committed
9
    <span v-if="count === 50" class="events-info pull-right">
10 11
      <i class="fa fa-warning has-tooltip"
          aria-hidden="true"
12
          :title="n__('Limited to showing %d event at most', 'Limited to showing %d events at most', 50)"
13
          data-placement="top"></i>
14
      {{ n__('Showing %d event', 'Showing %d events', 50) }}
15 16 17
    </span>
  `,
};