Remove "banned" badge from posts and comments (fixes 899)

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.
This commit is contained in:
Felix Ableitner 2023-05-11 23:26:52 +02:00
parent c5fd084577
commit 0e6b4beedf
2 changed files with 0 additions and 12 deletions

View file

@ -259,11 +259,6 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
{i18n.t("bot_account").toLowerCase()}
</div>
)}
{(cv.creator_banned_from_community || isBanned(cv.creator)) && (
<div className="badge badge-danger mr-2">
{i18n.t("banned")}
</div>
)}
{this.props.showCommunity && (
<>
<span className="mx-1">{i18n.t("to")}</span>

View file

@ -335,13 +335,6 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
{i18n.t("bot_account").toLowerCase()}
</span>
)}
{(post_view.creator_banned_from_community ||
isBanned(post_view.creator)) && (
<span className="mx-1 badge badge-danger">{i18n.t("banned")}</span>
)}
{post_view.creator_blocked && (
<span className="mx-1 badge badge-danger">{"blocked"}</span>
)}
{this.props.showCommunity && (
<span>
<span className="mx-1"> {i18n.t("to")} </span>