mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 15:12:58 +03:00
296e35493d
requires https://github.com/TryGhost/Ghost/pull/10033 - added `settings.integration.webhooks.edit` route - `/integrations/:integration_id/webhooks/:webhook_id` - added error handling to the webhook form modal that copes with the actual errors we get back from the server - added `event-name` helper to display humanised event names in the webhooks list - added delete button to the webhooks list and associated confirmation modal
15 lines
546 B
Handlebars
15 lines
546 B
Handlebars
<header class="modal-header">
|
|
<h1>Are you sure?</h1>
|
|
</header>
|
|
<a class="close" href="" title="Close" {{action "closeModal"}}>{{svg-jar "close"}}<span class="hidden">Close</span></a>
|
|
|
|
<div class="modal-body">
|
|
<p>
|
|
Deleting this webhook may prevent the integration from functioning.
|
|
</p>
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
<button {{action "closeModal"}} class="gh-btn"><span>Cancel</span></button>
|
|
{{gh-task-button "Delete Webhook" successText="Deleted" task=deleteWebhook class="gh-btn gh-btn-red gh-btn-icon"}}
|
|
</div> |