1 <% wu = obj.work_unit(name) %>
3 <% render_log = wu.render_log %>
6 <% log_url = url_for render_log[:log] %>
7 <p> <a href="<%= log_url %>">Download the log</a> </p>
8 <%= render(partial: render_log[:partial], locals: render_log[:locals]) %>
12 <%# Show log in terminal window %>
14 <div id="event_log_div"
15 class="arv-log-event-listener arv-log-event-handler-append-logs arv-job-log-window"
16 data-object-uuids="<%= wu.log_object_uuids.join(' ') %>"
17 ><%= wu.live_log_lines(Rails.configuration.running_job_log_records_to_fetch).join("\n") %>
20 <%# Applying a long throttle suppresses the auto-refresh of this
21 partial that would normally be triggered by arv-log-event. %>
22 <div class="arv-log-refresh-control"
23 data-load-throttle="86486400000" <%# 1001 nights %>>