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" />
)}
{this.isPostCreator && (
<div
<span
className="badge text-info text-bg-light d-sm-inline me-2"
aria-label={I18NextService.i18n.t("creator")}
data-tippy-content={I18NextService.i18n.t("creator")}
>
{I18NextService.i18n.t("op")}
</div>
</span>
)}
{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")}
</div>
</span>
)}
{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")}
</div>
</span>
)}
{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()}
</div>
</span>
)}
{this.props.showCommunity && (
<>