discourse/app/assets/javascripts/admin/addon/templates/modal/admin-delete-posts-confirmation.hbs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
759 B
Handlebars
Raw Normal View History

<div>
<DModalBody
@rawTitle={{i18n
"admin.user.delete_posts.confirmation.title"
username=this.username
}}
>
<p>{{html-safe
(i18n
"admin.user.delete_posts.confirmation.description"
username=this.username
post_count=this.postCount
text=this.text
2022-12-28 20:28:11 +08:00
)
}}</p>
<Input @type="text" @value={{this.value}} />
</DModalBody>
<div class="modal-footer">
<DButton
@class="btn-danger"
@action={{action "confirm"}}
@icon="trash-alt"
@disabled={{this.deleteDisabled}}
@translatedLabel={{this.deleteButtonText}}
/>
<DButton
@action={{action "close"}}
@label="admin.user.delete_posts.confirmation.cancel"
2022-12-28 20:28:11 +08:00
/>
</div>
</div>