-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move instance variables to search_session
- Loading branch information
Showing
4 changed files
with
14 additions
and
15 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
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<% #Using the Bootstrap Pagination class -%> | ||
<div class='pagination-search-widgets'> | ||
<% if @previous_document || @next_document %> | ||
<% if search_session['prev'] || search_session['next'] %> | ||
<div class="page-links"> | ||
<%= link_to_previous_document @previous_document %> | | ||
<%= link_to_previous_document search_session['prev'] %> | | ||
<%= item_page_entry_info %> | | ||
<%= link_to_next_document @next_document %> | ||
<%= link_to_next_document search_session['next'] %> | ||
</div> | ||
<% end %> | ||
</div> |
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
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