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:
authorKatarzyna Kobierska <kkobierska@gmail.com>2016-09-02 16:45:03 +0300
committerKatarzyna Kobierska <kkobierska@gmail.com>2016-09-13 10:05:07 +0300
commitb1016a355eded528c9f9ecb15861d084a6673823 (patch)
tree3ffcf0cd615d34afd1e4d8f0e28a8bb12a15e340 /app
parent9e9829d76b2fa8143f45fc53fde766139c738150 (diff)
Improve table code and add CHANGELOG
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/builds/_table.html.haml6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/views/projects/builds/_table.html.haml b/app/views/projects/builds/_table.html.haml
index b6602f8b083..9e4fd9b767b 100644
--- a/app/views/projects/builds/_table.html.haml
+++ b/app/views/projects/builds/_table.html.haml
@@ -15,12 +15,10 @@
%th Name
%th
%th
- - unless admin
- - if project.build_coverage_enabled?
- Coverage
+ - if !admin && project.build_coverage_enabled?
+ Coverage
%th
-
- if admin
- builds.each do |build|
= render "admin/builds/build", build: build