Remove content more (#372)

* Updating translations.

* Changing to remove content with tippy.

* Use title instead
This commit is contained in:
Dessalines 2021-08-17 17:46:27 -04:00 committed by GitHub
parent 5e5695c3ea
commit 03a2b467ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 8 deletions

@ -1 +1 @@
Subproject commit a13fc72a3dbabdeb405196b1c51ddbb4b9157212 Subproject commit a41129ad65e57bbfe7817f9c2be1280bc4f1192c

View file

@ -752,8 +752,12 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
checked={this.state.removeData} checked={this.state.removeData}
onChange={linkEvent(this, this.handleModRemoveDataChange)} onChange={linkEvent(this, this.handleModRemoveDataChange)}
/> />
<label class="form-check-label" htmlFor="mod-ban-remove-data"> <label
{i18n.t("remove_posts_comments")} class="form-check-label"
htmlFor="mod-ban-remove-data"
title={i18n.t("remove_content_more")}
>
{i18n.t("remove_content")}
</label> </label>
</div> </div>
</div> </div>

View file

@ -466,9 +466,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
let post_view = this.props.post_view; let post_view = this.props.post_view;
return ( return (
<div class="d-flex justify-content-between justify-content-lg-start flex-wrap text-muted font-weight-bold mb-1"> <div class="d-flex justify-content-between justify-content-lg-start flex-wrap text-muted font-weight-bold mb-1">
<button <button class="btn btn-link text-muted p-0">
class="btn btn-link text-muted p-0"
>
<Link <Link
className="text-muted small" className="text-muted small"
title={i18n.t("number_of_comments", { title={i18n.t("number_of_comments", {
@ -998,8 +996,12 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
checked={this.state.removeData} checked={this.state.removeData}
onChange={linkEvent(this, this.handleModRemoveDataChange)} onChange={linkEvent(this, this.handleModRemoveDataChange)}
/> />
<label class="form-check-label" htmlFor="mod-ban-remove-data"> <label
{i18n.t("remove_posts_comments")} class="form-check-label"
htmlFor="mod-ban-remove-data"
title={i18n.t("remove_content_more")}
>
{i18n.t("remove_content")}
</label> </label>
</div> </div>
</div> </div>