summaryrefslogtreecommitdiff
path: root/app/views/projects/builds
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-06-13 11:41:58 +0100
committerPhil Hughes <me@iamphill.com>2016-06-13 11:41:58 +0100
commit8c367c918d3c439f8dad46ed1c3f3d661da1a88c (patch)
tree2ff857c1f8c5d00c1907dd1375c5ff72a60cfbb3 /app/views/projects/builds
parent06a99cf7ea82105a182c2805ea05266e5ce6c0a2 (diff)
downloadgitlab-ce-8c367c918d3c439f8dad46ed1c3f3d661da1a88c.tar.gz
Shows build scroll buttons after build is completebuild-scroll-controls-on-complete
Closes #18515
Diffstat (limited to 'app/views/projects/builds')
-rw-r--r--app/views/projects/builds/show.html.haml10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/projects/builds/show.html.haml b/app/views/projects/builds/show.html.haml
index a26f8aeb315..4e2702c2e44 100644
--- a/app/views/projects/builds/show.html.haml
+++ b/app/views/projects/builds/show.html.haml
@@ -48,16 +48,16 @@
- if @build.active?
.autoscroll-container
%button.btn.btn-success.btn-sm#autoscroll-button{:type => "button", :data => {:state => 'disabled'}} enable autoscroll
- #js-build-scroll.scroll-controls
- = link_to '#build-trace', class: 'btn' do
- %i.fa.fa-angle-up
- = link_to '#down-build-trace', class: 'btn' do
- %i.fa.fa-angle-down
- if @build.erased?
.erased.alert.alert-warning
- erased_by = "by #{link_to @build.erased_by.name, user_path(@build.erased_by)}" if @build.erased_by
Build has been erased #{erased_by.html_safe} #{time_ago_with_tooltip(@build.erased_at)}
- else
+ #js-build-scroll.scroll-controls
+ = link_to '#build-trace', class: 'btn' do
+ %i.fa.fa-angle-up
+ = link_to '#down-build-trace', class: 'btn' do
+ %i.fa.fa-angle-down
%pre.build-trace#build-trace
%code.bash.js-build-output
= icon("refresh spin", class: "js-build-refresh")