add new options for moving nav links

This commit is contained in:
albert
2013-03-07 18:31:20 -05:00
parent f8619e689e
commit d907dfedbb
13 changed files with 70 additions and 44 deletions

View File

@@ -0,0 +1,13 @@
<% 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 %>