Files
danbooru/app/views/posts/partials/show/_nav_links.html.erb
2013-03-07 18:31:20 -05:00

14 lines
645 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 params[:tags].present? && CurrentUser.user.enable_post_navigation && params[:tags] !~ /order:/ %>
<%= render "posts/partials/show/search_seq", :post => post %>
<% end %>
<% if post.pools.active.any? %>
<%= render "posts/partials/show/pools", :post => post %>
<% end %>
<p id="keyboard-shortcuts-link"><%= link_to "Keyboard shortcuts available", keyboard_shortcuts_path %></p>
</div>
<% end %>