X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/df9e166a5ffc4aa79658bec1a5d552a3b413f0d8..00573cf7d28472bf926e8f610a256cd991879c8b:/apps/workbench/app/views/collections/hash_matches.html.erb diff --git a/apps/workbench/app/views/collections/hash_matches.html.erb b/apps/workbench/app/views/collections/hash_matches.html.erb index 7c4abb080e..c93b6acbda 100644 --- a/apps/workbench/app/views/collections/hash_matches.html.erb +++ b/apps/workbench/app/views/collections/hash_matches.html.erb @@ -1,3 +1,9 @@ +<% + 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 +%>
@@ -5,7 +11,7 @@

<%= params["uuid"] %>

-

The following collections have this content:

+

<%= message %>

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