diff options
author | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-07-27 19:51:52 +0300 |
---|---|---|
committer | Annabel Dunstone <annabel.dunstone@gmail.com> | 2016-07-28 20:45:35 +0300 |
commit | d49e6f355010a31a080da75789b46603989925ad (patch) | |
tree | fbd708ea22460aca050379c80e162c75ab0eee6f /app/views/projects/ci/builds/_build.html.haml | |
parent | 15654eca7f7db7176281ce4fd23504b09bd930a4 (diff) |
Add pipeline icon to admin builds; position warning icon after sha
Diffstat (limited to 'app/views/projects/ci/builds/_build.html.haml')
-rw-r--r-- | app/views/projects/ci/builds/_build.html.haml | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/app/views/projects/ci/builds/_build.html.haml b/app/views/projects/ci/builds/_build.html.haml index a3114771a42..91081435220 100644 --- a/app/views/projects/ci/builds/_build.html.haml +++ b/app/views/projects/ci/builds/_build.html.haml @@ -13,13 +13,6 @@ - else %span ##{build.id} - - if build.stuck? - .icon-container - = icon('warning', class: 'text-warning has-tooltip', title: 'Build is stuck. Check runners.') - - if defined?(retried) && retried - .icon-container - = icon('warning', class: 'text-warning has-tooltip', title: 'Build was retried.') - - if defined?(ref) && ref - if build.ref .icon-container @@ -33,6 +26,11 @@ - if defined?(commit_sha) && commit_sha = link_to build.short_sha, namespace_project_commit_path(build.project.namespace, build.project, build.sha), class: "commit-id monospace" + - if build.stuck? + = icon('warning', class: 'text-warning has-tooltip', title: 'Build is stuck. Check runners.') + - if defined?(retried) && retried + = icon('warning', class: 'text-warning has-tooltip', title: 'Build was retried.') + .label-container - if build.tags.any? - build.tags.each do |tag| @@ -47,7 +45,6 @@ - if build.manual? %span.label.label-info manual - - if defined?(runner) && runner %td - if build.try(:runner) |