-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<% #Using the Bootstrap Pagination class -%> | ||
<% #DEPRECATED - using id="previousNextDocument" as a selector is deprecated and will be removed in Blacklight 6.0 %> | ||
<div id='previousNextDocument' class='pagination-search-widgets'> | ||
<% if @previous_document || @next_document %> | ||
<div class="page_links"> | ||
<%= link_to_previous_document @previous_document %> | | ||
<%= item_page_entry_info %> | | ||
<%= link_to_next_document @next_document %> | ||
</div> | ||
<% end %> | ||
<% if current_search_session %> | ||
<div class="pull-right search-widgets"> | ||
<%= link_back_to_catalog class: 'btn' %> | ||
<%=link_to t('blacklight.search.start_over'), start_over_path(current_search_session.try(:query_params) || {}), id: 'startOverLink', class: 'btn' %> | ||
<%=link_to t('active_admin.edit'), "/admin/sources/#{@document.id.split(" ")[1]}/edit", class: 'btn' %> | ||
</div> | ||
<% end %> | ||
</div> |