diff --git a/src/api/app/views/webui/package/_live_build_log_controls.html.haml b/src/api/app/views/webui/package/_live_build_log_controls.html.haml index ee9c7c20b12..48502a6b42d 100644 --- a/src/api/app/views/webui/package/_live_build_log_controls.html.haml +++ b/src/api/app/views/webui/package/_live_build_log_controls.html.haml @@ -5,21 +5,12 @@ = link_to('#', class: 'stop_refresh live-link-action btn-dark') do %i.far.fa-pause-circle Stop refresh - - - if !User.session - = link_to(public_build_path(package: @package, project: @project, arch: @arch, repository: @repo, filename: '_log'), - target: :_blank, - rel: 'noopener', - class: 'live-link-action btn-secondary') do - %i.fas.fa-download - Download logfile - - else - = link_to(raw_logfile_path(package: @package, project: @project, arch: @arch, repository: @repo), - target: :_blank, - rel: 'noopener', - class: 'live-link-action btn-secondary') do - %i.fas.fa-download - Download logfile + = link_to(public_build_path(package: @package, project: @project, arch: @arch, repository: @repo, filename: '_log'), + target: :_blank, + rel: 'noopener', + class: 'live-link-action btn-secondary') do + %i.fas.fa-download + Download logfile - if @can_modify = link_to(package_trigger_rebuild_path(project: @project, package: @package, arch: @arch, repository: @repo), class: 'link_trigger_rebuild live-link-action btn-warning d-none',