Sha256: 1f75ac1d2f381f186c2ed0a2698ce8849024176dfac14b09947bfc64f6b434c9

Contents?: true

Size: 1.42 KB

Versions: 5

Compression:

Stored size: 1.42 KB

Contents

<table id="collections-list-table" class="table table-striped collections-list-table">
  <caption class="sr-only"><%= t("hyrax.dashboard.my.sr.listing") %> <%= application_name %></caption>
  <thead>
  <tr>
    <th class="check-all">
      <label for="check_all" class="sr-only"><%= t("hyrax.dashboard.my.sr.check_all_label") %></label>
      <input type="checkbox" name="check_all" id="check_all" value="yes" />
    </th>
    <th><%= t("hyrax.dashboard.my.heading.title") %></th>
    <% if !current_ability.admin? %>
      <th><%= t("hyrax.dashboard.my.heading.access") %></th>
    <% end %>
    <th><%= t("hyrax.dashboard.my.heading.type") %></th>
    <th><%= t("hyrax.dashboard.my.heading.visibility") %></th>
    <th><%= t("hyrax.dashboard.my.heading.items") %></th>
    <th><%= t("hyrax.dashboard.my.heading.last_modified") %></th>
    <th><%= t("hyrax.dashboard.my.heading.action") %></th>
  </tr>
  </thead>
  <tbody>
  <% docs.each_with_index do |document, counter| %>
    <% collection_presenter = if document.admin_set?
                                Hyrax::AdminSetPresenter.new(document, current_ability, nil)
                              else
                                Hyrax::CollectionPresenter.new(document, current_ability, nil)
                              end %>
    <%= render 'list_collections', collection_presenter: collection_presenter, counter: counter, is_admin_set: document.admin_set? %>
  <% end %>
  </tbody>
</table>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hyrax-2.1.0 app/views/hyrax/dashboard/collections/_default_group.html.erb
hyrax-2.1.0.rc4 app/views/hyrax/dashboard/collections/_default_group.html.erb
hyrax-2.1.0.rc3 app/views/hyrax/dashboard/collections/_default_group.html.erb
hyrax-2.1.0.rc2 app/views/hyrax/dashboard/collections/_default_group.html.erb
hyrax-2.1.0.rc1 app/views/hyrax/dashboard/collections/_default_group.html.erb