From: Felix Ableitner Date: Thu, 25 May 2023 08:52:00 +0000 (+0200) Subject: remove badge-muted X-Git-Url: http://these/git/%7Bthis.props.icon%7D?a=commitdiff_plain;h=8837cf568e63a034bbb32708768fb21f7e02fccc;p=lemmy-ui.git remove badge-muted --- diff --git a/src/shared/components/comment/comment-node.tsx b/src/shared/components/comment/comment-node.tsx index fae636e..7ed5e8f 100644 --- a/src/shared/components/comment/comment-node.tsx +++ b/src/shared/components/comment/comment-node.tsx @@ -246,17 +246,17 @@ export class CommentNode extends Component { )} {isMod_ && ( -
+
{i18n.t("mod")}
)} {isAdmin_ && ( -
+
{i18n.t("admin")}
)} {cv.creator.bot_account && ( -
+
{i18n.t("bot_account").toLowerCase()}
)} @@ -284,7 +284,7 @@ export class CommentNode extends Component { {this.linkBtn(true)} {cv.comment.language_id !== 0 && ( - + { this.props.allLanguages.find( lang => lang.id === cv.comment.language_id diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx index 137ded9..4d8e109 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -327,13 +327,13 @@ export class PostListing extends Component { {this.creatorIsMod_ && ( - {i18n.t("mod")} + {i18n.t("mod")} )} {this.creatorIsAdmin_ && ( - {i18n.t("admin")} + {i18n.t("admin")} )} {post_view.creator.bot_account && ( - + {i18n.t("bot_account").toLowerCase()} )} @@ -345,7 +345,7 @@ export class PostListing extends Component { )} {post_view.post.language_id !== 0 && ( - + { this.props.allLanguages.find( lang => lang.id === post_view.post.language_id