diff --git a/app/views/posts/partials/show/_notices.html.erb b/app/views/posts/partials/show/_notices.html.erb index 3e336691d..82bc2de7c 100644 --- a/app/views/posts/partials/show/_notices.html.erb +++ b/app/views/posts/partials/show/_notices.html.erb @@ -6,21 +6,20 @@ <% end %> -<% if (post.is_banned? || post.is_deleted?) && post.flags.empty? %> +<% if post.is_banned? %>
This post was deleted for the following reasons:
- - <%= post_flag_reasons(post) %> + <% if post.flags.any? %> +This post was deleted for the following reasons:
+ <%= post_flag_reasons(post) %> + <% else %> + This post was deleted + <% end %>