Skip to content

Commit

Permalink
Do not display total count when browsing items
Browse files Browse the repository at this point in the history
  • Loading branch information
somathias committed Sep 25, 2023
1 parent d46c6b8 commit d80b2ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/assets/_resource_counts.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
<%= resource_text %> matching the given criteria:
<%= link_to("(Clear all filters)", page_and_sort_params.merge(filter: nil)) %>
<% elsif @total_count && controller_model.authorization_supported? %>
<%= resource_text %> visible to you, out of a total of <strong><%= @total_count %></strong>
<!-- <%#= resource_text %> visible to you, out of a total of <strong><%#= @total_count %></strong>-->
<%= resource_text %> visible to you
<% else %>
<%= resource_text %> found
<% end %>
Expand Down

0 comments on commit d80b2ee

Please sign in to comment.