summaryrefslogtreecommitdiff
path: root/app/views/projects/graphs/ci/_overall.haml
blob: 4b12e5f2da1778773dd2a168a20159f9a39c36bd (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), 'build'
  %li
    Successful:
    %strong= pluralize @project.builds.success.count(:all), 'build'
  %li
    Failed:
    %strong= pluralize @project.builds.failed.count(:all), 'build'
  %li
    Success ratio:
    %strong
      #{success_ratio(@project.builds.success, @project.builds.failed)}%
  %li
    Commits covered:
    %strong
      = @project.ci_commits.count(:all)