queued
|
✉ <%= raw distance_of_time_in_words(Time.now, j.created_at).sub('about ','~').sub(' ',' ') + ' ago' if j.created_at %>
|
<%= raw('for ' + distance_of_time_in_words(j.started_at, j.created_at).sub('about ','~').sub(' ',' ')) if j.created_at and j.started_at %>
|
<% if j.started_at.is_a? Time %>
started
|
✈ <%= raw distance_of_time_in_words(j.started_at, Time.now).sub('about ','~').sub(' ',' ') + ' ago' if j.started_at %>
|
<% if j.finished_at.is_a? Time %>
<%= raw('ran ' + distance_of_time_in_words(j.finished_at, j.started_at).sub('about ','~').sub(' ',' ')) %>
<% elsif j.running %>
✔ <%= j.tasks_summary[:done] %>
✈ <%= j.tasks_summary[:running] %>
✉ <%= j.tasks_summary[:todo] %>
<% if j.tasks_summary[:failed] %>
✖ <%= j.tasks_summary[:failed] %>
<% end %>
<% end %>
|
<% end %>
|
<%= j.script %> <%= j.script_version %>
|
<% j.script_parameters.sort.each do |k,v| %>
<%= k %> | <%= link_to_if_arvados_object v %> |
<% end %>
output | <%= link_to_if_arvados_object j.output %> |
|
<% j.runtime_constraints.sort.each do |k,v| %>
<%= v %> | <%= k %> |
<% end %>
|