Added highlighting and notices for moderators
- Posts and topics have an added moderation_reports function -- This is so all moderation reports can be loaded in a single query - Those moderation reports are passed into the render functions separately -- This is so the individual comments/posts don't have to be queried
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
@import "../base/000_vars.scss";
|
||||
|
||||
div.comments-for-post {
|
||||
div.moderation-comments-notice {
|
||||
margin: 1em 0;
|
||||
font-weight: bold;
|
||||
color: red;
|
||||
}
|
||||
|
||||
div.hidden-comments-notice {
|
||||
margin: 1em 0;
|
||||
}
|
||||
@@ -13,6 +19,10 @@ div.comments-for-post {
|
||||
background: var(--comment-sticky-background-color);
|
||||
}
|
||||
|
||||
&[data-is-reported="true"] {
|
||||
border: solid red;
|
||||
}
|
||||
|
||||
&[data-is-voted="true"] {
|
||||
.comment-vote-up-link, .comment-vote-down-link {
|
||||
display: none;
|
||||
|
||||
@@ -1,5 +1,14 @@
|
||||
div.list-of-forum-posts {
|
||||
div.moderation-forums-notice {
|
||||
font-weight: bold;
|
||||
color: red;
|
||||
}
|
||||
|
||||
article.forum-post {
|
||||
&[data-is-reported="true"] {
|
||||
border: solid red;
|
||||
}
|
||||
|
||||
a.voted {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
div#c-users {
|
||||
div#a-show {
|
||||
div.moderation-users-notice {
|
||||
margin: 1em 0;
|
||||
font-weight: bold;
|
||||
color: red;
|
||||
}
|
||||
|
||||
div.box {
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user