Files
danbooru/app/views/posts/partials/show/_nav_links.html.erb
Kevin Xiwei Zheng 5cb909810d Change remaining instances of Pool#active to Pool#undeleted
The model method was renamed in b32783c, but some references in the post
view partials were not updated, causing errors.
2013-08-19 12:05:34 -04:00

12 lines
543 B
Plaintext

<% if (position == "bottom" && CurrentUser.user.new_post_navigation_layout) || (position == "top" && !CurrentUser.user.new_post_navigation_layout) %>
<div id="nav-links" class="ui-corner-all nav-notice">
<% if CurrentUser.user.enable_sequential_post_navigation && params[:tags].present? && params[:tags] !~ /order:/ %>
<%= render "posts/partials/show/search_seq", :post => post %>
<% end %>
<% if post.pools.undeleted.any? %>
<%= render "posts/partials/show/pools", :post => post %>
<% end %>
</div>
<% end %>