* All users can now view deleted posts.

* Posts now have an is_banned flag for artist removal requests.  Basic users can not view banned posts but gold and higher can.
* Banning an artist both deletes the post and bans it.
* By default deleted posts are not filtered out of post searches at the sql level.
This commit is contained in:
albert
2013-03-22 09:38:53 -07:00
parent 733fa2dd7b
commit 6c54d89a36
9 changed files with 40 additions and 8 deletions

View File

@@ -8,7 +8,11 @@
<% if post.is_deleted? && post.flags.empty? %>
<div class="ui-corner-all ui-state-highlight notice">
This post was deleted
<% if post.is_banned? %>
This post was deleted because it was requested by the artist
<% else %>
This post was deleted
<% end %>
</div>
<% end %>