enable blacklists in comments, wiki pages

This commit is contained in:
albert
2013-02-18 19:11:30 -05:00
parent 85f3a79e9d
commit 8a66470975
8 changed files with 63 additions and 45 deletions

View File

@@ -7,7 +7,7 @@
<% end %>
<% @posts.each do |post| %>
<div class="post">
<div class="post post-preview" data-tags="<%= post.tag_string %>" data-uploader="<%= post.uploader_name %>" data-rating="<%= post.rating %>" data-flags="<%= post.status %>" data-score="<%= post.score %>">
<div class="preview">
<%= link_to(image_tag(post.preview_file_url), post_path(post)) %>
</div>

View File

@@ -11,8 +11,7 @@
<section id="blacklist-box">
<h1>Blacklisted</h1>
<%= link_to "Hidden", "#" %>
<ul>
<ul id="blacklist-list">
</ul>
</section>
</aside>

View File

@@ -7,4 +7,10 @@
</section>
<%= render "wiki_pages/recent_changes" %>
<section id="blacklist-box">
<h1>Blacklisted</h1>
<ul id="blacklist-list">
</ul>
</section>
</aside>