Merge branch 'master' into 3177-collection-choose-files
[arvados.git] / apps / workbench / app / views / collections / hash_matches.html.erb
1 <div class="row">
2   <div class="col-md-10 col-md-offset-1">
3     <div class="panel panel-info">
4       <div class="panel-heading">
5         <h3 class="panel-title"><%= params["uuid"] %></h3>
6       </div>
7       <div class="panel-body">
8         <p><i>The following collections have this content:</i></p>
9         <% @same_pdh.sort { |a,b| b.created_at <=> a.created_at }.each do |c| %>
10           <div class="row">
11             <div class="col-md-8">
12               <% owner = object_for_dataclass(Group, c.owner_uuid) || object_for_dataclass(User, c.owner_uuid) %>
13               <%= link_to_if_arvados_object owner, {:friendly_name => true} %> / <%= link_to_if_arvados_object c, {:friendly_name => true} %><br>
14             </div>
15             <div class="col-md-4">
16               <%= render_localized_date c.created_at %>
17             </div>
18           </div>
19         <% end %>
20       </div>
21     </div>
22   </div>
23 </div>