1 <% log_ids = @object.job_log_ids
2 still_logging, done_logging = log_ids.keys.partition { |k| log_ids[k].nil? }
5 <% unless done_logging.empty? %>
6 <table class="topalign table table-condensed table-fixedlayout">
13 <th>finished component</th>
18 <% done_logging.each do |cname| %>
21 <td><%= link_to("Log for #{cname}",
22 {controller: "collections", action: "show", id: log_ids[cname]})
30 <% unless still_logging.empty? %>
31 <h4>Logs in progress</h4>
33 <div id="event_log_div"
34 class="arv-log-event-listener arv-log-event-handler-append-logs arv-log-event-subscribe-to-pipeline-job-uuids arv-job-log-window"
35 data-object-uuids="<%= @object.stderr_log_object_uuids.join(' ') %>"
36 ><%= @object.stderr_log_lines.join("\n") %></div>
38 <%# Applying a long throttle suppresses the auto-refresh of this
39 partial that would normally be triggered by arv-log-event. %>
40 <div class="arv-log-refresh-control"
41 data-load-throttle="86486400000" <%# 1001 nights %>