diff options
author | Katarzyna Kobierska <kkobierska@gmail.com> | 2016-09-02 16:45:03 +0300 |
---|---|---|
committer | Katarzyna Kobierska <kkobierska@gmail.com> | 2016-09-13 10:05:07 +0300 |
commit | b1016a355eded528c9f9ecb15861d084a6673823 (patch) | |
tree | 3ffcf0cd615d34afd1e4d8f0e28a8bb12a15e340 /app | |
parent | 9e9829d76b2fa8143f45fc53fde766139c738150 (diff) |
Improve table code and add CHANGELOG
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/builds/_table.html.haml | 6 |
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 |