app/views/kaminari/blacklight/_paginator.html.erb in blacklight-8.4.0 vs app/views/kaminari/blacklight/_paginator.html.erb in blacklight-8.5.0
- old
+ new
@@ -9,15 +9,16 @@
Paginator now using the Bootstrap paginator class
-%>
<%= paginator.render do -%>
<ul class="pagination">
<%= prev_page_tag %>
- <%= next_page_tag %>
+ <%= next_page_tag if Blacklight::Engine.config.blacklight.paginator[:next_page_position] == :before %>
<% each_relevant_page do |page| -%>
<% if page.left_outer? || page.right_outer? || page.inside_window? -%>
<%= page_tag page %>
<% elsif !page.was_truncated? -%>
<%= gap_tag %>
<% end -%>
<% end -%>
+ <%= next_page_tag if Blacklight::Engine.config.blacklight.paginator[:next_page_position] == :after %>
</ul>
<% end -%>