summaryrefslogtreecommitdiff
path: root/app/views/projects/ci/builds/_build.html.haml
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-09-08 09:30:44 -0500
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-10-18 08:29:29 -0500
commit0912022d32fccfeeb40ddbb9efc7456ae149203b (patch)
tree3411d395eac6ffa9556db07566c13b6f25fe4d57 /app/views/projects/ci/builds/_build.html.haml
parent5dcb57e5ec76ea04ee5175b826226f843633a19b (diff)
downloadgitlab-ce-0912022d32fccfeeb40ddbb9efc7456ae149203b.tar.gz
Add background color and icon to retried builds
Diffstat (limited to 'app/views/projects/ci/builds/_build.html.haml')
-rw-r--r--app/views/projects/ci/builds/_build.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/ci/builds/_build.html.haml b/app/views/projects/ci/builds/_build.html.haml
index 9248adfde80..cc6f9472c8b 100644
--- a/app/views/projects/ci/builds/_build.html.haml
+++ b/app/views/projects/ci/builds/_build.html.haml
@@ -6,7 +6,7 @@
- coverage = local_assigns.fetch(:coverage, false)
- allow_retry = local_assigns.fetch(:allow_retry, false)
-%tr.build.commit
+%tr.build.commit{class: ('retried' if defined?(retried) && retried)}
%td.status
- if can?(current_user, :read_build, build)
= ci_status_with_icon(build.status, namespace_project_build_url(build.project.namespace, build.project, build))