-
Notifications
You must be signed in to change notification settings - Fork 254
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
show back to search and start over for 1 result show pages
- Loading branch information
1 parent
072e64f
commit fe8fed1
Showing
4 changed files
with
26 additions
and
14 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,18 +1,20 @@ | ||
<% #Using the Bootstrap Pagination class -%> | ||
<% if @previous_document || @next_document %> | ||
<div id="previousNextDocument"> | ||
<% #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> | ||
</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' %> | ||
</div> | ||
</div> | ||
<% end %> | ||
<%= 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' %> | ||
</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