summaryrefslogtreecommitdiff
path: root/app/views/ci
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-12-14 11:36:19 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-12-14 11:36:19 +0100
commit6757aaa120c375f15e09f4c428286e5dc1d95f84 (patch)
treeb403a0e71d1c1b434a9f4746770bc26b90c48835 /app/views/ci
parentac115a9e1f106863112ca9daf463a8f5b8db7d0a (diff)
downloadgitlab-ce-6757aaa120c375f15e09f4c428286e5dc1d95f84.tar.gz
Improve build status specs contexts descriptions
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)