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