discourse/app/assets/javascripts/admin/addon/templates/modal/admin-delete-posts-confirmation.hbs
Arpit Jalan 419d71abcb
FEATURE: allow admin to delete all posts by a user irrespectively (#14128)
This commit allows admin to delete all posts by a user irrespective of
site settings `delete_user_max_post_age` and `delete_all_posts_max`.
2021-08-25 10:14:22 +05:30

21 lines
622 B
Handlebars

<div>
{{#d-modal-body rawTitle=(i18n "admin.user.delete_posts.confirmation.title" username=username)}}
<p>{{html-safe (i18n "admin.user.delete_posts.confirmation.description" username=username post_count=postCount text=text)}}</p>
{{input type="text" value=value}}
{{/d-modal-body}}
<div class="modal-footer">
{{d-button
class="btn-danger"
action=(action "confirm")
icon="trash-alt"
disabled=deleteDisabled
translatedLabel=deleteButtonText
}}
{{d-button
action=(action "close")
label="admin.user.delete_posts.confirmation.cancel"
}}
</div>
</div>