projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
11185: Addressed several requests:
[arvados.git]
/
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 7c4abb080eb8b9a393308dfc62c3ad18de928eaf..c93b6acbdaed631bfa4a89381cfcc1a02bfa9e1e 100644
(file)
--- 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
+%>
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-info">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="panel panel-info">
@@
-5,7
+11,7
@@
<h3 class="panel-title"><%= params["uuid"] %></h3>
</div>
<div class="panel-body">
<h3 class="panel-title"><%= params["uuid"] %></h3>
</div>
<div class="panel-body">
- <p><i>
The following collections have this content:
</i></p>
+ <p><i>
<%= message %>
</i></p>
<% @same_pdh.sort { |a,b| b.created_at <=> a.created_at }.each do |c| %>
<div class="row">
<div class="col-md-8">
<% @same_pdh.sort { |a,b| b.created_at <=> a.created_at }.each do |c| %>
<div class="row">
<div class="col-md-8">