Add data attributes for CurrentUser's privileges to <body> tag (fix #3073).
This commit is contained in:
@@ -129,7 +129,7 @@ a.blacklisted-active {
|
||||
}
|
||||
|
||||
/* Flagged posts have red borders for approvers. */
|
||||
body[data-can-approve-posts="true"] .post-preview {
|
||||
body[data-user-can-approve-posts="true"] .post-preview {
|
||||
&.post-status-flagged img {
|
||||
border-color: $preview_flagged_color;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user