X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/59807e4ab334f7aec9772bf63f186974fba96821..58997b4550660886fa4b402a4079267607380eda:/apps/workbench/app/views/collections/hash_matches.html.erb?ds=sidebyside diff --git a/apps/workbench/app/views/collections/hash_matches.html.erb b/apps/workbench/app/views/collections/hash_matches.html.erb index 1975d3142c..c93b6acbda 100644 --- a/apps/workbench/app/views/collections/hash_matches.html.erb +++ b/apps/workbench/app/views/collections/hash_matches.html.erb @@ -1,11 +1,17 @@ -

Collection <%= params["uuid"] %>

+<% + message = "The following collections have this content:" + if @same_pdh.items_available > @same_pdh.results.size + message += ' (' + (@same_pdh.items_available - @same_pdh.results.size).to_s + ' more results are not shown)' + end +%>
-

The following collection have this content:

+

<%= params["uuid"] %>

+

<%= message %>

<% @same_pdh.sort { |a,b| b.created_at <=> a.created_at }.each do |c| %>