script, version | progress <%# format:'js' here helps browsers avoid using the cached js content in html context (e.g., duplicate tab -> see javascript) %> <%= link_to '(refresh)', {format: :js}, {class: 'refresh hide', remote: true, method: 'get'} %> | output | ||
---|---|---|---|---|
<%= @object[:script] %> <%= @object[:script_version] %> |
<%= render partial: 'job_progress', locals: {:j => @object} %>
<% if @object.running == false %>
<% if @object[:job].andand[:uuid] %>
<%= link_to("..."+@object[:job][:uuid].last(15), job_url(id: @object[:job][:uuid])) %>
<% current_job = @object %>
<% if current_job.andand[:log] %>
<% fixup = /([a-f0-9]{32}\+\d+)(\+?.*)/.match(current_job[:log])%>
<% Collection.limit(1).where(uuid: fixup[1]).each do |c| %>
<% c.files.each do |file| %>
log <% end %> <% end %> <% end %> <% end %> <% end %> | <%= render(partial: 'job_status_label', locals: { :j => @object }) %> | <%= link_to_if_arvados_object @object[:output], {:thumbnail => true} %> | |