Sha256: 15816c1e2c1bbc293d53f15ca4b5c7e5b7a2cdceccb1f21b3396063919ce78c4

Contents?: true

Size: 1.11 KB

Versions: 27

Compression:

Stored size: 1.11 KB

Contents

<h2><%= t('.header') %></h2>
<%  array_of_ids = presenter.list_of_item_ids_to_display %>
<%  members = presenter.member_presenters_for(array_of_ids) %>
<% if members.present? %>
  <table class="table table-striped related-files">
    <thead>
      <tr>
        <th><%= t('.thumbnail') %></th>
        <th><%= t('.title') %></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 %>

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
hyrax-2.9.6 app/views/hyrax/base/_items.html.erb
hyrax-2.9.5 app/views/hyrax/base/_items.html.erb
hyrax-2.9.4 app/views/hyrax/base/_items.html.erb
hyrax-2.9.3 app/views/hyrax/base/_items.html.erb
hyrax-2.9.2 app/views/hyrax/base/_items.html.erb
hyrax-2.9.1 app/views/hyrax/base/_items.html.erb
hyrax-2.9.0 app/views/hyrax/base/_items.html.erb
hyrax-2.8.0 app/views/hyrax/base/_items.html.erb
hyrax-2.7.2 app/views/hyrax/base/_items.html.erb
hyrax-2.7.1 app/views/hyrax/base/_items.html.erb
hyrax-2.7.0 app/views/hyrax/base/_items.html.erb
hyrax-2.6.0 app/views/hyrax/base/_items.html.erb
hyrax-2.5.1 app/views/hyrax/base/_items.html.erb
hyrax-2.5.0 app/views/hyrax/base/_items.html.erb
hyrax-2.4.1 app/views/hyrax/base/_items.html.erb
hyrax-2.4.0 app/views/hyrax/base/_items.html.erb
hyrax-2.3.3 app/views/hyrax/base/_items.html.erb
hyrax-2.3.2 app/views/hyrax/base/_items.html.erb
hyrax-2.3.1 app/views/hyrax/base/_items.html.erb
hyrax-2.3.0 app/views/hyrax/base/_items.html.erb