Merge branch 'master' into 5720-ajax-loading-error
[arvados.git] / apps / workbench / app / views / pipeline_instances / _show_log.html.erb
index 5bc7828648677083cb3af69fc47a2e4b98355657..bb756a08274044fd867ca3cd18c5e10946bb5a5e 100644 (file)
@@ -1,4 +1,12 @@
 <% log_uuids = [@object.uuid] + pipeline_jobs(@object).collect{|x|x[:job].andand[:uuid]}.compact %>
 <% log_history = stderr_log_history(log_uuids) %>
-<div class="arv-log-event-listener arv-log-event-handler-append-logs arv-log-event-subscribe-to-pipeline-job-uuids arv-job-log-window" id="pipeline_event_log_div" data-object-uuids="<%= log_uuids.join(' ') %>"><%= log_history.join("\n") %>
-</div>
+<div id="event_log_div"
+     class="arv-log-event-listener arv-log-event-handler-append-logs arv-log-event-subscribe-to-pipeline-job-uuids arv-job-log-window"
+     data-object-uuids="<%= log_uuids.join(' ') %>"
+     ><%= log_history.join("\n") %></div>
+
+<%# Applying a long throttle suppresses the auto-refresh of this
+    partial that would normally be triggered by arv-log-event. %>
+<div class="arv-log-refresh-control"
+     data-load-throttle="86486400000" <%# 1001 nights %>
+     ></div>