<%= render(partial: 'work_unit/show_status', locals: {current_obj: @object, name: @object[:name] || 'this job'}) %>
Used in pipelines
<% pi = PipelineInstance.order("created_at desc").filter([["components", "like", "%#{@object.uuid}%"]]) %> <% pi.each do |pipeline| %> <% pipeline.components.each do |k, v| %> <% if v[:job] and v[:job][:uuid] == @object.uuid %>
<%= k %> component of <%= link_to_if_arvados_object pipeline, friendly_name: true %> created at <%= render_localized_date(pipeline.created_at) %>.
<% end %> <% end %> <% end %>