forked from e621ng/e621ng
[Posts] HIde the pending info-notice when user can approve
This commit is contained in:
parent
cd188a797f
commit
bca7d2cdd0
@ -34,7 +34,9 @@
|
||||
|
||||
<% if post.is_pending? %>
|
||||
<div class="notice notice-pending" id="pending-approval-notice">
|
||||
This post is pending approval. (<%= link_to "learn more", wiki_pages_path(title: "about:mod_queue") %>)
|
||||
<% unless CurrentUser.can_approve_posts? %>
|
||||
This post is pending approval. (<%= link_to "learn more", wiki_pages_path(title: "about:mod_queue") %>)
|
||||
<% end %>
|
||||
|
||||
<%= render "post_disapprovals/counts", disapprovals: post.disapprovals, post: post %>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user