diff --git a/app/views/catalog/_previous_next_doc.html.erb b/app/views/catalog/_previous_next_doc.html.erb new file mode 100644 index 000000000..4d217fa18 --- /dev/null +++ b/app/views/catalog/_previous_next_doc.html.erb @@ -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 %> +
+ <% if @previous_document || @next_document %> + + <% end %> + <% if current_search_session %> +
+ <%= 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' %> +
+ <% end %> +