Hide pending border on mod queue
This commit is contained in:
@@ -85,19 +85,19 @@ a.blacklisted-active {
|
||||
}
|
||||
|
||||
|
||||
&.post-status-pending img {
|
||||
&.post-status-pending:not(.mod-queue-preview) img {
|
||||
border-color: $preview_pending_color;
|
||||
}
|
||||
|
||||
&.post-status-has-children.post-status-pending img {
|
||||
&.post-status-has-children.post-status-pending:not(.mod-queue-preview) img {
|
||||
border-color: $preview_has_children_color $preview_pending_color $preview_pending_color $preview_has_children_color;
|
||||
}
|
||||
|
||||
&.post-status-has-parent.post-status-pending img {
|
||||
&.post-status-has-parent.post-status-pending:not(.mod-queue-preview) img {
|
||||
border-color: $preview_has_parent_color $preview_pending_color $preview_pending_color $preview_has_parent_color;
|
||||
}
|
||||
|
||||
&.post-status-has-children.post-status-has-parent.post-status-pending img {
|
||||
&.post-status-has-children.post-status-has-parent.post-status-pending:not(.mod-queue-preview) img {
|
||||
border-color: $preview_has_children_color $preview_pending_color $preview_pending_color $preview_has_parent_color;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
</div>
|
||||
|
||||
<% @posts.each do |post| %>
|
||||
<div id="post-<%= post.id %>" class="post <%= PostPresenter.preview_class(post) %>" <%= PostPresenter.data_attributes(post) %> data-has-dup="<%= post.has_dup_tag? %>">
|
||||
<div id="post-<%= post.id %>" class="post mod-queue-preview <%= PostPresenter.preview_class(post) %>" <%= PostPresenter.data_attributes(post) %> data-has-dup="<%= post.has_dup_tag? %>">
|
||||
<aside>
|
||||
<%= link_to(image_tag(post.preview_file_url), post_path(post), :target => "_blank") %>
|
||||
</aside>
|
||||
|
||||
Reference in New Issue
Block a user