mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
8 lines
754 B
Handlebars
8 lines
754 B
Handlebars
{{#d-modal-body title="admin.flags.delete_flag_modal_title"}}
|
|
<button title="{{i18n 'admin.flags.delete_post_defer_flag_title'}}" {{action "deletePostDeferFlag"}} class="btn">{{d-icon "trash-o"}}{{d-icon "external-link"}}{{i18n 'admin.flags.delete_post_defer_flag'}}</button>
|
|
<button title="{{i18n 'admin.flags.delete_post_agree_flag_title'}}" {{action "deletePostAgreeFlag"}} class="btn">{{d-icon "trash-o"}}{{d-icon "thumbs-o-up"}}{{i18n 'admin.flags.delete_post_agree_flag'}}</button>
|
|
{{#if model.canDeleteAsSpammer}}
|
|
<button title="{{i18n 'admin.flags.delete_spammer_title'}}" {{action "deleteSpammer" model.user}} class="btn btn-danger">{{d-icon "exclamation-triangle"}}{{i18n 'admin.flags.delete_spammer'}}</button>
|
|
{{/if}}
|
|
{{/d-modal-body}}
|