diff options
author | Steffen Köhler <skoehler@htwg-konstanz.de> | 2016-01-21 21:17:16 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-02-22 19:33:25 +0100 |
commit | bea6aa3377dfc685ed2d6427609e17318279e8b1 (patch) | |
tree | 33a1a5edf71abd42cbb9d54da1d5ec59b652aa3c /app | |
parent | 493d166d66902e645f3b0afb76526317fd98ceeb (diff) | |
download | gitlab-ce-bea6aa3377dfc685ed2d6427609e17318279e8b1.tar.gz |
Show test coverage on project builds page
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/builds/index.html.haml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/projects/builds/index.html.haml b/app/views/projects/builds/index.html.haml index 5e3bd14565e..14f1d3226bb 100644 --- a/app/views/projects/builds/index.html.haml +++ b/app/views/projects/builds/index.html.haml @@ -51,9 +51,11 @@ %th Name %th Duration %th Finished at + - if @project.build_coverage_enabled? + %th Coverage %th - @builds.each do |build| - = render 'projects/commit_statuses/commit_status', commit_status: build, commit_sha: true, stage: true, allow_retry: true + = render 'projects/commit_statuses/commit_status', commit_status: build, commit_sha: true, stage: true, coverage: @project.build_coverage_enabled?, allow_retry: true = paginate @builds, theme: 'gitlab' |