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 <annabel.dunstone@gmail.com>2016-07-11 23:36:09 +0300
committerAnnabel Dunstone <annabel.dunstone@gmail.com>2016-07-12 22:52:59 +0300
commit8ed105bf42ed28be1d9c19e2cd6401fb3c89a046 (patch)
treec3ea271c405fca379c70c0a7130ecd84acf94ae2 /app/views/projects/ci
parentc57471ddb456c9640f6d77128e1fc56c7a5b35b2 (diff)
Fix label alignment bug; re-add build-link
Diffstat (limited to 'app/views/projects/ci')
-rw-r--r--app/views/projects/ci/builds/_build.html.haml16
1 files changed, 8 insertions, 8 deletions
diff --git a/app/views/projects/ci/builds/_build.html.haml b/app/views/projects/ci/builds/_build.html.haml
index 0c29658e4d9..f60929d0990 100644
--- a/app/views/projects/ci/builds/_build.html.haml
+++ b/app/views/projects/ci/builds/_build.html.haml
@@ -28,17 +28,17 @@
- 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.tags.any?
- .label-container
+ .label-container
+ - if build.tags.any?
- build.tags.each do |tag|
%span.label.label-primary
= tag
- - if build.try(:trigger_request)
- %span.label.label-info triggered
- - if build.try(:allow_failure)
- %span.label.label-danger allowed to fail
- - if defined?(retried) && retried
- %span.label.label-warning retried
+ - if build.try(:trigger_request)
+ %span.label.label-info triggered
+ - if build.try(:allow_failure)
+ %span.label.label-danger allowed to fail
+ - if defined?(retried) && retried
+ %span.label.label-warning retried
- if defined?(runner) && runner