10473: Use fixed-point timestamps and more human-readable field ordering, hide "incom...
[arvados.git] / apps / workbench / app / views / jobs / _show_status.html.erb
1 <%= render(partial: 'work_units/show_status', locals: {current_obj: @object, name: @object[:name] || 'this job'}) %>
2
3 <div class="panel panel-default">
4   <div class="panel-heading">
5     <span class="panel-title">Used in pipelines</span>
6   </div>
7   <div class="panel-body">
8     <% pi = PipelineInstance.order("created_at desc").filter([["components", "like", "%#{@object.uuid}%"]]) %>
9
10     <% pi.each do |pipeline| %>
11       <% pipeline.components.each do |k, v| %>
12         <% if v[:job] and v[:job][:uuid] == @object.uuid %>
13           <div>
14             <b><%= k %></b>
15             component of
16             <%= link_to_if_arvados_object pipeline, friendly_name: true %>
17             created at
18             <%= render_localized_date(pipeline.created_at) %>.
19           </div>
20         <% end %>
21       <% end %>
22     <% end %>
23   </div>
24 </div>