mirror of
https://gitlab.com/commento/commento.git
synced 2025-06-28 22:55:39 -04:00
api, frontend: add moderator tag to mods in comments
This commit is contained in:
@ -743,6 +743,9 @@
|
||||
if (isModerator && comment.state !== "approved") {
|
||||
classAdd(card, "dark-card");
|
||||
}
|
||||
if (commenter.isModerator) {
|
||||
classAdd(name, "moderator");
|
||||
}
|
||||
if (comment.state === "flagged") {
|
||||
classAdd(name, "flagged");
|
||||
}
|
||||
|
@ -42,6 +42,17 @@
|
||||
border-radius: 100px;
|
||||
}
|
||||
|
||||
.commento-moderator::after {
|
||||
content: "Moderator";
|
||||
text-transform: uppercase;
|
||||
font-size: 10px;
|
||||
background: $green-7;
|
||||
color: white;
|
||||
margin-left: 8px;
|
||||
padding: 2px 6px 2px 6px;
|
||||
border-radius: 100px;
|
||||
}
|
||||
|
||||
.commento-subtitle {
|
||||
display: block;
|
||||
color: #999;
|
||||
|
Reference in New Issue
Block a user