2985: add "move project" to "Selection..." dropdown
[arvados.git] / apps / workbench / app / views / projects / _index_jobs_and_pipelines.html.erb
1 <div>
2   <% any = false %>
3   <% recent_jobs_and_pipelines[0..9].each do |object| %>
4     <% any = true %>
5     <div class="row" style="height: 4.5em">
6       <div class="col-sm-4">
7         <%= render :partial => "show_object_button", :locals => {object: object, size: 'xs'} %>
8         <% if object.respond_to?(:name) %>
9           <%= render_editable_attribute object, 'name', nil, {tiptitle: 'rename'} %>
10         <% else %>
11           <%= object.class_for_display %> <%= object.uuid %>
12         <% end %>
13       </div>
14       <div class="col-sm-8 arv-description-in-table">
15         <%= render_controller_partial(
16             'show_object_description_cell.html',
17             controller_name: object.controller_name,
18             locals: {object: object})
19             %>
20       </div>
21     </div>
22   <% end %>
23   <% if not any %>
24     <span class="deemphasize">No jobs or pipelines to display.</span>
25   <% end %>
26 </div>