From: Nutomic Date: Fri, 12 May 2023 01:15:04 +0000 (+0200) Subject: Remove "banned" badge from posts and comments (fixes 899) (#1011) X-Git-Url: http://these/git/%22https:/www.exeterceilidhs.net/%22%7B%7D/static/%7BmarkdownHelpUrl%7D?a=commitdiff_plain;h=8c06eb9749da021dfadc7dd88c9cfa00b8392d59;p=lemmy-ui.git Remove "banned" badge from posts and comments (fixes 899) (#1011) It doesnt need to be emphasized so much that a user is banned. Anyway this can already be seen in the mod log. For users who are banned from the entire site it is still shown on the profile. Co-authored-by: Dessalines --- diff --git a/src/shared/components/comment/comment-node.tsx b/src/shared/components/comment/comment-node.tsx index 2b7ea6e..d6fe086 100644 --- a/src/shared/components/comment/comment-node.tsx +++ b/src/shared/components/comment/comment-node.tsx @@ -259,11 +259,6 @@ export class CommentNode extends Component { {i18n.t("bot_account").toLowerCase()} )} - {(cv.creator_banned_from_community || isBanned(cv.creator)) && ( -
- {i18n.t("banned")} -
- )} {this.props.showCommunity && ( <> {i18n.t("to")} diff --git a/src/shared/components/post/post-listing.tsx b/src/shared/components/post/post-listing.tsx index b26070e..b3a93c0 100644 --- a/src/shared/components/post/post-listing.tsx +++ b/src/shared/components/post/post-listing.tsx @@ -335,13 +335,6 @@ export class PostListing extends Component { {i18n.t("bot_account").toLowerCase()} )} - {(post_view.creator_banned_from_community || - isBanned(post_view.creator)) && ( - {i18n.t("banned")} - )} - {post_view.creator_blocked && ( - {"blocked"} - )} {this.props.showCommunity && ( {i18n.t("to")}