summaryrefslogtreecommitdiff
path: root/app/views/projects/pipelines/charts/_overall.haml
blob: 0b7e3d22dd73de3d46a7eaa6a119bec65ce3e40f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
%h4 Overall stats
%ul
  %li
    Total:
    %strong= pluralize @project.builds.count(:all), 'job'
  %li
    Successful:
    %strong= pluralize @project.builds.success.count(:all), 'job'
  %li
    Failed:
    %strong= pluralize @project.builds.failed.count(:all), 'job'
  %li
    Success ratio:
    %strong
      #{success_ratio(@project.builds.success, @project.builds.failed)}%
  %li
    Commits covered:
    %strong
      = @project.pipelines.count(:all)