2 message = "The following collections have this content:"
3 if @same_pdh.items_available > @same_pdh.results.size
4 message += ' (' + (@same_pdh.items_available - @same_pdh.results.size).to_s + ' more results are not shown)'
8 <div class="col-md-10 col-md-offset-1">
9 <div class="panel panel-info">
10 <div class="panel-heading">
11 <h3 class="panel-title"><%= params["uuid"] %></h3>
13 <div class="panel-body">
14 <p><i><%= message %></i></p>
15 <% @same_pdh.sort { |a,b| b.created_at <=> a.created_at }.each do |c| %>
17 <div class="col-md-8">
18 <% owner = object_for_dataclass(Group, c.owner_uuid) || object_for_dataclass(User, c.owner_uuid) %>
19 <%= link_to_if_arvados_object owner, {:friendly_name => true} %> / <%= link_to_if_arvados_object c, {:friendly_name => true} %><br>
21 <div class="col-md-4">
22 <%= render_localized_date c.created_at %>