add hotkey navigationf or posts/pools

This commit is contained in:
albert
2013-02-25 10:13:01 -05:00
parent 10b6dcebd0
commit 436c9af9da
6 changed files with 74 additions and 19 deletions

View File

@@ -0,0 +1,3 @@
<section id="pool-nav">
<%= @post.presenter.pool_html(self) %>
</section>

View File

@@ -5,13 +5,6 @@
<%= render_advertisement("vertical") %>
<% if @post.pools.active.any? %>
<section id="pool-sidebar">
<h1>Pools</h1>
<%= @post.presenter.pool_html(self) %>
</section>
<% end %>
<section id="tag-list">
<%= @post.presenter.split_tag_list_html(self) %>
</section>
@@ -45,7 +38,11 @@
<div id="note-container"></div>
<%= @post.presenter.image_html(self) %>
</section>
<% if @post.pools.active.any? %>
<%= render "posts/partials/show/pools", :post => @post %>
<% end %>
<menu id="post-sections">
<li><a href="#comments">Comments</a></li>
<li><a href="#edit" id="post-edit-link">Edit</a></li>