<PersonListing person={cv.creator} />
</span>
{cv.comment.distinguished && (
- <Icon icon="shield" inline classes={`text-danger me-2`} />
+ <Icon icon="shield" inline classes="text-danger me-2" />
)}
{this.isPostCreator && (
<div className="badge text-bg-light d-none d-sm-inline me-2">
render() {
return (
- <div className={`vote-bar col-1 pe-0 small text-center`}>
+ <div className="vote-bar col-1 pe-0 small text-center">
<button
type="button"
className={`btn-animate btn btn-link p-0 ${
</button>
{showScores() ? (
<div
- className={`unselectable pointer text-muted px-1 post-score`}
+ className="unselectable pointer text-muted px-1 post-score"
data-tippy-content={tippy(this.props.counts)}
>
{numToSI(this.props.counts.score)}
>
<Icon
icon="trash"
- classes={`icon-inline text-danger`}
+ classes="icon-inline text-danger"
/>
</button>
</div>
data-tippy-content={I18NextService.i18n.t("edit")}
aria-label={I18NextService.i18n.t("edit")}
>
- <Icon icon="edit" classes={`icon-inline`} />
+ <Icon icon="edit" classes="icon-inline" />
</button>
<button
data-tippy-content={I18NextService.i18n.t("delete")}
aria-label={I18NextService.i18n.t("delete")}
>
- <Icon icon="trash" classes={`icon-inline text-danger`} />
+ <Icon icon="trash" classes="icon-inline text-danger" />
</button>
</td>
</tr>
render() {
return (
<div
- className={`cake-day mx-2 d-inline-block unselectable pointer`}
+ className="cake-day mx-2 d-inline-block unselectable pointer"
data-tippy-content={this.cakeDayTippy()}
>
<Icon icon="cake" classes="icon-inline" />
value={this.state.banReason}
onInput={linkEvent(this, this.handleModBanReasonChange)}
/>
- <label className="col-form-label" htmlFor={`mod-ban-expires`}>
+ <label className="col-form-label" htmlFor="mod-ban-expires">
{I18NextService.i18n.t("expires")}
</label>
<input
type="number"
- id={`mod-ban-expires`}
+ id="mod-ban-expires"
className="form-control me-2"
placeholder={I18NextService.i18n.t("number_of_days")}
value={this.state.banExpireDays}
value={this.state.banReason}
onInput={linkEvent(this, this.handleModBanReasonChange)}
/>
- <label className="col-form-label" htmlFor={`mod-ban-expires`}>
+ <label className="col-form-label" htmlFor="mod-ban-expires">
{I18NextService.i18n.t("expires")}
</label>
<input
type="number"
- id={`mod-ban-expires`}
+ id="mod-ban-expires"
className="form-control me-2"
placeholder={I18NextService.i18n.t("number_of_days")}
value={this.state.banExpireDays}