summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-06-10 20:40:25 +0100
committerPhil Hughes <me@iamphill.com>2016-06-13 11:08:47 +0100
commit9281709b41ce5be5637194cda191a6dd76ddd495 (patch)
tree7fbc64244a7b8961ccd1e7b7873a80df564fc05f
parentd23b91b0d9b8db16801872c49a1fb1d3be3a7144 (diff)
downloadgitlab-ce-9281709b41ce5be5637194cda191a6dd76ddd495.tar.gz
Added missing span element around time
-rw-r--r--app/views/projects/builds/_sidebar.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/builds/_sidebar.html.haml b/app/views/projects/builds/_sidebar.html.haml
index 14571145313..af69490019d 100644
--- a/app/views/projects/builds/_sidebar.html.haml
+++ b/app/views/projects/builds/_sidebar.html.haml
@@ -16,13 +16,13 @@
.title
Build artifacts
- if @build.artifacts_expired?
- %p
+ %p.build-detail-row
The artifacts were removed
#{time_ago_with_tooltip(@build.artifacts_expire_at)}
- elsif @build.artifacts_expire_at
- %p
+ %p.build-detail-row
The artifacts will be removed in
- #{time_ago_with_tooltip(@build.artifacts_expire_at)}
+ %span.js-artifacts-remove= @build.artifacts_expire_at
- if @build.artifacts?
.btn-group.btn-group-justified{ role: :group }