mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-23 03:11:25 +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}
|
||||
onChange={linkEvent(this, this.handleModRemoveDataChange)}
|
||||
/>
|
||||
<label class="form-check-label" htmlFor="mod-ban-remove-data">
|
||||
{i18n.t("remove_posts_comments")}
|
||||
<label
|
||||
class="form-check-label"
|
||||
htmlFor="mod-ban-remove-data"
|
||||
title={i18n.t("remove_content_more")}
|
||||
>
|
||||
{i18n.t("remove_content")}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -466,9 +466,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
|||
let post_view = this.props.post_view;
|
||||
return (
|
||||
<div class="d-flex justify-content-between justify-content-lg-start flex-wrap text-muted font-weight-bold mb-1">
|
||||
<button
|
||||
class="btn btn-link text-muted p-0"
|
||||
>
|
||||
<button class="btn btn-link text-muted p-0">
|
||||
<Link
|
||||
className="text-muted small"
|
||||
title={i18n.t("number_of_comments", {
|
||||
|
@ -998,8 +996,12 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
|||
checked={this.state.removeData}
|
||||
onChange={linkEvent(this, this.handleModRemoveDataChange)}
|
||||
/>
|
||||
<label class="form-check-label" htmlFor="mod-ban-remove-data">
|
||||
{i18n.t("remove_posts_comments")}
|
||||
<label
|
||||
class="form-check-label"
|
||||
htmlFor="mod-ban-remove-data"
|
||||
title={i18n.t("remove_content_more")}
|
||||
>
|
||||
{i18n.t("remove_content")}
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue