summaryrefslogtreecommitdiff
path: root/app/views/ci
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/ci')
-rw-r--r--app/views/ci/status/_badge.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/ci/status/_badge.html.haml b/app/views/ci/status/_badge.html.haml
index c00ddd183fb..f2135af2686 100644
--- a/app/views/ci/status/_badge.html.haml
+++ b/app/views/ci/status/_badge.html.haml
@@ -1,3 +1,5 @@
+- status = local_assigns.fetch(:status)
+
- if status.has_details?
= link_to status.details_path, class: "ci-status ci-#{status}" do
= custom_icon(status.icon)