* DEV: Update CI workflows * DEV: Update deps * DEV: Fix template linting Co-authored-by: discoursebuild <[email protected]> Co-authored-by: Jarek Radosz <[email protected]>
27 lines
657 B
Handlebars
27 lines
657 B
Handlebars
<div>
|
|
{{#d-modal-body
|
|
rawTitle=(i18n
|
|
"discourse_subscriptions.user.subscriptions.operations.destroy.confirm"
|
|
)
|
|
}}
|
|
{{input type="checkbox" checked=refund}}
|
|
{{i18n "discourse_subscriptions.admin.ask_refund"}}
|
|
{{/d-modal-body}}
|
|
|
|
<div class="modal-footer">
|
|
{{#if model.loading}}
|
|
{{loading-spinner}}
|
|
{{else}}
|
|
{{d-button
|
|
label="yes_value"
|
|
action=(route-action
|
|
"cancelSubscription" (hash subscription=model refund=refund)
|
|
)
|
|
icon="times"
|
|
class="btn-danger"
|
|
}}
|
|
{{d-button label="no_value" action=(route-action "closeModal")}}
|
|
{{/if}}
|
|
</div>
|
|
</div>
|