This commit is contained in:
Alec Armbruster 2023-06-27 11:44:17 -04:00
parent 9e1eb5fe19
commit c020debf6d
No known key found for this signature in database
GPG key ID: 52BC7C84E960FD1B

View file

@ -315,28 +315,28 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
<Icon icon="shield" inline classes="text-danger me-2" /> <Icon icon="shield" inline classes="text-danger me-2" />
)} )}
{this.isPostCreator && ( {this.isPostCreator && (
<div <span
className="badge text-info text-bg-light d-sm-inline me-2" className="badge text-info text-bg-light d-sm-inline me-2"
aria-label={I18NextService.i18n.t("creator")} aria-label={I18NextService.i18n.t("creator")}
data-tippy-content={I18NextService.i18n.t("creator")} data-tippy-content={I18NextService.i18n.t("creator")}
> >
{I18NextService.i18n.t("op")} {I18NextService.i18n.t("op")}
</div> </span>
)} )}
{isMod_ && ( {isMod_ && (
<div className="badge text-bg-light d-none d-sm-inline me-2"> <span className="badge text-bg-light d-none d-sm-inline me-2">
{I18NextService.i18n.t("mod")} {I18NextService.i18n.t("mod")}
</div> </span>
)} )}
{isAdmin_ && ( {isAdmin_ && (
<div className="badge text-bg-light d-none d-sm-inline me-2"> <span className="badge text-bg-light d-none d-sm-inline me-2">
{I18NextService.i18n.t("admin")} {I18NextService.i18n.t("admin")}
</div> </span>
)} )}
{cv.creator.bot_account && ( {cv.creator.bot_account && (
<div className="badge text-bg-light d-none d-sm-inline me-2"> <span className="badge text-bg-light d-none d-sm-inline me-2">
{I18NextService.i18n.t("bot_account").toLowerCase()} {I18NextService.i18n.t("bot_account").toLowerCase()}
</div> </span>
)} )}
{this.props.showCommunity && ( {this.props.showCommunity && (
<> <>