app/views/hyrax/base/_items.html.erb
<!-- Hyrax v5.0.1 override: add file set use to items displayed -->
<% array_of_ids = presenter.list_of_item_ids_to_display %>
<% members = presenter.member_presenters(array_of_ids) %>
<% if members.present? %>
<table class="table table-striped table-bordered related-files items-table">
<thead>
<tr>
<th><%= t('.thumbnail') %></th>
<th class="th-title"><%= t('.title') %></th>
<th>File Description</th>
<th><%= t('.date_uploaded') %></th>
<th><%= t('.visibility') %></th>
<th><%= t('.actions') %></th>
</tr>
</thead>
<tbody>
<%= render partial: 'member', collection: members %>
</tbody>
</table>
<div class="row">
<% if presenter.total_pages > 1 %>
<div class="row record-padding col-md-9">
<%= paginate array_of_ids, outer_window: 2, theme: 'blacklight', param_name: :page, route_set: main_app %>
</div><!-- /pager -->
<% end %>
</div>
<% elsif can? :edit, presenter.id %>
<div class="alert alert-warning" role="alert"><%= t('.empty', type: presenter.human_readable_type) %></div>
<% else %>
<div class="alert alert-warning" role="alert"><%= t('.unauthorized', type: presenter.human_readable_type) %></div>
<% end %>