gitlab-org--gitlab-foss/app/views/projects/graphs/ci/_overall.haml

20 lines
463 B
Text
Raw Normal View History

%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
2015-12-04 06:55:23 -05:00
= @project.ci_commits.count(:all)