Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-09-08 17:40:10 +0300
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-10-18 16:29:29 +0300
commitd0f35b04555bddf9337c564c757aa913b0d2e739 (patch)
tree61481ad555fdf91beee49f66bee9125f4b14af10 /app/views/projects/ci/builds/_build.html.haml
parent0912022d32fccfeeb40ddbb9efc7456ae149203b (diff)
Replace retried build icon with fa-refresh
Diffstat (limited to 'app/views/projects/ci/builds/_build.html.haml')
-rw-r--r--app/views/projects/ci/builds/_build.html.haml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/projects/ci/builds/_build.html.haml b/app/views/projects/ci/builds/_build.html.haml
index cc6f9472c8b..1f01c3d5657 100644
--- a/app/views/projects/ci/builds/_build.html.haml
+++ b/app/views/projects/ci/builds/_build.html.haml
@@ -35,8 +35,9 @@
- if build.stuck?
= icon('warning', class: 'text-warning has-tooltip', title: 'Build is stuck. Check runners.')
- - if retried
- = icon('warning', class: 'text-warning has-tooltip', title: 'Build was retried.')
+
+ - if defined?(retried) && retried
+ = icon('refresh', class: 'text-warning has-tooltip', title: 'Build was retried.')
.label-container
- if build.tags.any?