<% @page_title = t('blacklight.bookmarks.page_title', :application_name => application_name) %>

<div id="content" class="col-md-12">
<h2 class='page-heading'><%= t('blacklight.bookmarks.title') %></h2>

<%- if current_or_guest_user.blank? -%>

  <h3 class='section-heading'><%= t('blacklight.bookmarks.need_login') %></h3>

<%- elsif @document_list.blank? -%>

  <h3 class='section-heading'><%= t('blacklight.bookmarks.no_bookmarks') %></h3>
<% else %>
  <%= render 'sort_and_per_page' %>
  <%= render partial: 'tools', locals: { document_list: @document_list } %>

  <%= render_document_index %>
  <%= render 'results_pagination' %>
<% end %>
</div>

