Sha256: 948a6891d6e24823838f7c10ac003f7b4dbd70f3415abd276703c1e34374c12b

Contents?: true

Size: 1.08 KB

Versions: 24

Compression:

Stored size: 1.08 KB

Contents

<%  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

24 entries across 24 versions & 1 rubygems

Version Path
hyrax-3.6.0 app/views/hyrax/base/_items.html.erb
hyrax-4.0.0 app/views/hyrax/base/_items.html.erb
hyrax-4.0.0.rc3 app/views/hyrax/base/_items.html.erb
hyrax-4.0.0.rc2 app/views/hyrax/base/_items.html.erb
hyrax-4.0.0.rc1 app/views/hyrax/base/_items.html.erb
hyrax-3.5.0 app/views/hyrax/base/_items.html.erb
hyrax-4.0.0.beta2 app/views/hyrax/base/_items.html.erb
hyrax-3.4.2 app/views/hyrax/base/_items.html.erb
hyrax-4.0.0.beta1 app/views/hyrax/base/_items.html.erb
hyrax-3.4.1 app/views/hyrax/base/_items.html.erb
hyrax-3.4.0 app/views/hyrax/base/_items.html.erb
hyrax-3.3.0 app/views/hyrax/base/_items.html.erb
hyrax-3.2.0 app/views/hyrax/base/_items.html.erb
hyrax-3.1.0 app/views/hyrax/base/_items.html.erb
hyrax-3.0.2 app/views/hyrax/base/_items.html.erb
hyrax-3.0.1 app/views/hyrax/base/_items.html.erb
hyrax-3.0.0 app/views/hyrax/base/_items.html.erb
hyrax-3.0.0.pre.rc4 app/views/hyrax/base/_items.html.erb
hyrax-3.0.0.pre.rc3 app/views/hyrax/base/_items.html.erb
hyrax-3.0.0.pre.rc2 app/views/hyrax/base/_items.html.erb