* Change Post#pools to return all pools, including deleted pools. This fixes remove_all_from_pools to remove the post from deleted pools too. * Change other users of Post#pools to explicitly select undeleted pools.
16 lines
729 B
Plaintext
16 lines
729 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] !~ /(?:^|\s)(?:order|ordfav|ordpool):/ %>
|
|
<%= render "posts/partials/show/search_seq", :post => post %>
|
|
<% end %>
|
|
|
|
<% if post.pools.undeleted.any? %>
|
|
<%= render "posts/partials/show/pools", :post => post %>
|
|
<% end %>
|
|
|
|
<% if post.favorite_groups(active_id=params[:favgroup_id]).any? %>
|
|
<%= render "posts/partials/show/favorite_groups", :post => post %>
|
|
<% end %>
|
|
</div>
|
|
<% end %>
|