summaryrefslogtreecommitdiff
path: root/app/views/ci/charts/_overall.haml
blob: f522f35a6291c96a2ff81d9407cca1bd8c30a54c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
%fieldset
  %legend Overall
  %p
    Total:
    %strong= pluralize @project.builds.count(:all), 'build'
  %p
    Successful:
    %strong= pluralize @project.builds.success.count(:all), 'build'
  %p
    Failed:
    %strong= pluralize @project.builds.failed.count(:all), 'build'

  %p
    Success ratio:
    %strong
      #{success_ratio(@project.builds.success, @project.builds.failed)}%

  %p
    Commits covered:
    %strong
      = @project.commits.count(:all)