Add data attributes for CurrentUser's privileges to <body> tag (fix #3073).

This commit is contained in:
evazion
2017-05-21 12:29:53 -05:00
parent f1f6e5ccc9
commit 9b613157ae
3 changed files with 14 additions and 2 deletions

View File

@@ -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;
}