debian-mirror-gitlab/app/views/ci/charts/_overall.haml
2015-09-25 12:07:36 +05:30

21 lines
463 B
Text

%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)