fixes #2034
This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
<% end %>
|
||||
</section>
|
||||
|
||||
<% if CurrentUser.is_member? && Danbooru.config.can_user_see_post?(CurrentUser.user, @post) %>
|
||||
<% if CurrentUser.is_member? && Danbooru.config.can_user_see_post?(CurrentUser.user, @post) && (CurrentUser.is_gold? || !@post.is_banned?) %>
|
||||
<section id="edit" style="display: none;">
|
||||
<%= render "posts/partials/show/edit", :post => @post %>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user