X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/11085f87c952c7e46a15c88e144190cac32b95a8..1012f12d29be01b56f2bbbe2e9bd5969d69f7b89:/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..ba2a443733 100644 --- a/apps/workbench/app/views/collections/hash_matches.html.erb +++ b/apps/workbench/app/views/collections/hash_matches.html.erb @@ -1,3 +1,13 @@ +<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> + +<% + 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 +15,7 @@

<%= params["uuid"] %>

-

The following collections have this content:

+

<%= message %>

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