summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 }