Welcome to mirror list, hosted at ThFree Co, Russian Federation.

limit_warning_component.js « 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: 63e20478e9494f286abe2c4799cc7a09e32287ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
export default {
  props: {
    count: {
      type: Number,
      required: true,
    },
  },
  template: `
    <span v-if="count === 50" class="events-info pull-right">
      <i class="fa fa-warning has-tooltip"
          aria-hidden="true"
          title="Limited to showing 50 events at most"
          data-placement="top"></i>
      {{ 'Showing %d event' | translate-plural('Showing %d events', 50) }}
    </span>
  `,
};