Read about our upcoming Code of Conduct on this issue

_overall.haml 463 Bytes
Newer Older
1
2
3
%h4 Overall stats
%ul
  %li
4
    Total:
5
    %strong= pluralize @project.builds.count(:all), 'build'
6
  %li
7
    Successful:
8
    %strong= pluralize @project.builds.success.count(:all), 'build'
9
  %li
10
    Failed:
11
    %strong= pluralize @project.builds.failed.count(:all), 'build'
12
  %li
13
14
    Success ratio:
    %strong
15
      #{success_ratio(@project.builds.success, @project.builds.failed)}%
16
  %li
17
18
    Commits covered:
    %strong
19
      = @project.ci_commits.count(:all)