mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 03:05:25 +08:00
419d71abcb
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`.
21 lines
622 B
Handlebars
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>
|