Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-02-25 21:02:57 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-02-25 21:02:57 +0300
commit820d227b9e233b8bb8c78b49ef4a26f757e86953 (patch)
tree02c7c237731bd42bbf44c4631bc8085983dbc288 /app
parent8d3e5cf0db1aa811f2f9263092b8d7740acec5a6 (diff)
parentf36fde94d0f72bc86abf4a424710f9e5c72cfc30 (diff)
Merge remote-tracking branch 'origin/Baertierchen/gitlab-ce-showTestCoverage'
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/builds/index.html.haml4
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'