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

statistics_list.vue « components « charts « pipelines « projects « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cd9e464c5acacccdfff8aca5b1e11b48863c0f9f (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
<script>
export default {
  props: {
    counts: {
      type: Object,
      required: true,
    },
  },
};
</script>
<template>
  <ul>
    <li>
      <span>{{ s__('PipelineCharts|Total:') }}</span>
      <strong>{{ n__('1 pipeline', '%d pipelines', counts.total) }}</strong>
    </li>
    <li>
      <span>{{ s__('PipelineCharts|Successful:') }}</span>
      <strong>{{ n__('1 pipeline', '%d pipelines', counts.success) }}</strong>
    </li>
    <li>
      <span>{{ s__('PipelineCharts|Failed:') }}</span>
      <strong>{{ n__('1 pipeline', '%d pipelines', counts.failed) }}</strong>
    </li>
    <li>
      <span>{{ s__('PipelineCharts|Success ratio:') }}</span>
      <strong>{{ counts.successRatio }}%</strong>
    </li>
  </ul>
</template>