Sha256: df0d8a8f056e621b70f435b4ddf2c741b774a51992c3eb5e8335f611dd151960

Contents?: true

Size: 732 Bytes

Versions: 2

Compression:

Stored size: 732 Bytes

Contents

<p id="notice"><%= notice %></p>

<h1>Bookmarks (<%= current_user.bookmarks.where(document_type: 'Kithe::Model').size %>)</h1>

<%- if @pagy %>

  <p>
    <%= render "admin/documents/result_toggle" %>
    <%= render "admin/documents/result_selected_options" %>
    <span class='float-right'>
      <%== pagy_bootstrap_nav(@pagy) %>
    </span>
  </p>

  <hr/>

  <%= render "admin/documents/result_selection_options" %>

  <ol id='results' class='list-unstyled' data-controller='results'>
    <% @bookmarks.each_with_index do |bookmark, index| %>
      <%= render 'admin/documents/document', document: Kithe::Model.find(bookmark.document_id), index: index %>
    <% end %>
  </ol>
<%- else %>
  <p>No bookmarks found.</p>
<%- end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
geoblacklight_admin-0.6.0 app/views/admin/bookmarks/index.html.erb
geoblacklight_admin-0.5.1 app/views/admin/bookmarks/index.html.erb