* Fixed favorites deletion
* Fixed parenting when dealing with post deletion
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
<% if post.is_deleted? %>
|
||||
<div class="ui-corner-all ui-state-error notice">
|
||||
This post has been deleted
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<% if (post.is_flagged? || post.is_deleted?) && post.flags.any? %>
|
||||
<div class="ui-corner-all ui-state-highlight notice">
|
||||
This post has been flagged for deletion: <%= post_flag_reasons(post) %>
|
||||
|
||||
Reference in New Issue
Block a user