summaryrefslogtreecommitdiff
path: root/app/views/ci/commits/_commit.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/ci/commits/_commit.html.haml')
-rw-r--r--app/views/ci/commits/_commit.html.haml5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/ci/commits/_commit.html.haml b/app/views/ci/commits/_commit.html.haml
index b24a3b826cf..11163813f3e 100644
--- a/app/views/ci/commits/_commit.html.haml
+++ b/app/views/ci/commits/_commit.html.haml
@@ -27,7 +27,6 @@
- if commit.finished_at
%span #{time_ago_in_words commit.finished_at} ago
- - if commit.project.coverage_enabled?
+ - if commit.coverage
%td.coverage
- - if commit.coverage
- #{commit.coverage}%
+ #{commit.coverage}%