mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-26 14:21:13 +00:00
Remove content more (#372)
* Updating translations. * Changing to remove content with tippy. * Use title instead
This commit is contained in:
parent
5e5695c3ea
commit
03a2b467ef
3 changed files with 14 additions and 8 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit a13fc72a3dbabdeb405196b1c51ddbb4b9157212
|
Subproject commit a41129ad65e57bbfe7817f9c2be1280bc4f1192c
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue