move nav link help
This commit is contained in:
@@ -234,12 +234,6 @@ div#c-posts {
|
||||
#nav-links {
|
||||
margin: 1em 0;
|
||||
padding: 1em 0.5em;
|
||||
|
||||
#keyboard-shortcuts-link {
|
||||
margin-top: 1em;
|
||||
font-size: 80%;
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
|
||||
#pool-nav, #search-seq-nav, #nav-help {
|
||||
|
||||
@@ -86,7 +86,7 @@ class PostPresenter < Presenter
|
||||
end
|
||||
|
||||
def has_nav_links?(template)
|
||||
template.params[:tags].present? || @post.pools.active.any?
|
||||
(template.params[:tags].present? && template.params[:tags] !~ /order:/) || @post.pools.active.any?
|
||||
end
|
||||
|
||||
def post_footer_for_pool_html(template)
|
||||
|
||||
@@ -7,7 +7,5 @@
|
||||
<% 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 %>
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
<footer id="page-footer">
|
||||
Running Danbooru v<%= Danbooru.config.version %> — <%= link_to "Contact", contact_path %>
|
||||
Running Danbooru v<%= Danbooru.config.version %>
|
||||
– <%= link_to "Contact", contact_path %>
|
||||
<% if CurrentUser.user.enable_post_navigation %>
|
||||
– <%= link_to "Keyboard shortcuts available", keyboard_shortcuts_path %>
|
||||
<% end %>
|
||||
</footer>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<h1>Keyboard Shortcuts</h1>
|
||||
|
||||
<section>
|
||||
<h1>Post Listing</h1>
|
||||
<h1>Listing</h1>
|
||||
<ul>
|
||||
<li><span class="key">←</span> Previous page</li>
|
||||
<li><span class="key">→</span> Next page</li>
|
||||
|
||||
Reference in New Issue
Block a user