summaryrefslogtreecommitdiff
path: root/app/views/projects/builds/_sidebar.html.haml
diff options
context:
space:
mode:
authorTomasz Maczukin <tomasz@maczukin.pl>2016-06-21 13:12:02 +0200
committerTomasz Maczukin <tomasz@maczukin.pl>2016-09-01 14:00:44 +0200
commited51734030f94aa7e0636d8527b4bdae05c9de6b (patch)
tree6aeeeae96b529cffca2e0cf914e513686846422c /app/views/projects/builds/_sidebar.html.haml
parent313b09fcbbef8ccccb43bf37320e14f59a631fdb (diff)
downloadgitlab-ce-ed51734030f94aa7e0636d8527b4bdae05c9de6b.tar.gz
Handle error on trace raw download with old builds (DB stored)
Diffstat (limited to 'app/views/projects/builds/_sidebar.html.haml')
-rw-r--r--app/views/projects/builds/_sidebar.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/builds/_sidebar.html.haml b/app/views/projects/builds/_sidebar.html.haml
index 5b0b58e087b..49c8bd11634 100644
--- a/app/views/projects/builds/_sidebar.html.haml
+++ b/app/views/projects/builds/_sidebar.html.haml
@@ -100,7 +100,7 @@
- elsif @build.runner
\##{@build.runner.id}
.btn-group.btn-group-justified{ role: :group }
- - if @build.has_trace?
+ - if @build.has_trace_file?
= link_to 'Raw', raw_namespace_project_build_path(@project.namespace, @project, @build), class: 'btn btn-sm btn-default'
- if @build.active?
= link_to "Cancel", cancel_namespace_project_build_path(@project.namespace, @project, @build), class: 'btn btn-sm btn-default', method: :post