Sha256: c98742fc1ac2c89ff17f8930a0dbdb69d86444e717e8e0dbf75e5b3551f1e13c
Contents?: true
Size: 1.08 KB
Versions: 6
Compression:
Stored size: 1.08 KB
Contents
<% 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 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
6 entries across 6 versions & 1 rubygems