diff options
author | Katarzyna Kobierska <kkobierska@gmail.com> | 2016-09-01 15:27:23 +0300 |
---|---|---|
committer | Katarzyna Kobierska <kkobierska@gmail.com> | 2016-09-13 10:05:07 +0300 |
commit | 9e9829d76b2fa8143f45fc53fde766139c738150 (patch) | |
tree | 527a26421b4daaf6e95876cb0888a3e70ff9bea3 | |
parent | 4fa6941020d414bcd6ef5b469340de6c940a2055 (diff) |
Improve code in table partial
-rw-r--r-- | app/views/projects/builds/_table.html.haml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/projects/builds/_table.html.haml b/app/views/projects/builds/_table.html.haml index eecd1a1ee44..b6602f8b083 100644 --- a/app/views/projects/builds/_table.html.haml +++ b/app/views/projects/builds/_table.html.haml @@ -15,9 +15,10 @@ %th Name %th %th - - unless admin - - if project.build_coverage_enabled? - %th Coverage + - unless admin + - if project.build_coverage_enabled? + Coverage + %th - if admin |