From d6d249c7a6dfb73e442d12b446f3f8f35213ef81 Mon Sep 17 00:00:00 2001 From: Nutomic Date: Fri, 12 May 2023 03:15:04 +0200 Subject: [PATCH] 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 --- src/shared/components/comment/comment-node.tsx | 5 ----- src/shared/components/post/post-listing.tsx | 7 ------- 2 files changed, 12 deletions(-) diff --git a/src/shared/components/comment/comment-node.tsx b/src/shared/components/comment/comment-node.tsx index 78f31884..a1aefc67 100644 --- a/src/shared/components/comment/comment-node.tsx +++ b/src/shared/components/comment/comment-node.tsx @@ -257,11 +257,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 d4fa7d85..acc64c2b 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")}