add shortcut to deleted posts
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
</section>
|
||||
|
||||
<%= render "posts/partials/index/blacklist" %>
|
||||
<%= render "posts/partials/index/related" %>
|
||||
</aside>
|
||||
|
||||
<section id="content">
|
||||
|
||||
8
app/views/posts/partials/index/_related.html.erb
Normal file
8
app/views/posts/partials/index/_related.html.erb
Normal file
@@ -0,0 +1,8 @@
|
||||
<section id="related-box">
|
||||
<h1>Related Searches</h1>
|
||||
<ul id="related-list">
|
||||
<% if @post_set.has_deleted? %>
|
||||
<li><%= link_to "Deleted", posts_path(:tags => "#{params[:tags]} status:deleted") %></li>
|
||||
<% end %>
|
||||
</ul>
|
||||
</section>
|
||||
Reference in New Issue
Block a user