% @page_title = t('blacklight.bookmarks.page_title', :application_name => application_name) %>
<%= t('blacklight.bookmarks.title') %>
<%- if current_or_guest_user.blank? -%>
<%= t('blacklight.bookmarks.need_login') %>
<%- elsif @document_list.blank? -%>
<%= t('blacklight.bookmarks.no_bookmarks') %>
<% else %>
<%= render 'sort_and_per_page' %>
<%= render partial: 'tools', locals: { document_list: @document_list } %>
<%= render_document_index %>
<%= render 'results_pagination' %>
<% end %>