{{i18n 'admin.web_hooks.instruction'}}

{{#link-to 'adminWebHooks.show' 'new' tagName='button' classNames='btn btn-default'}} {{d-icon 'plus'}} {{i18n 'admin.web_hooks.new'}} {{/link-to}}
{{#if model}} {{#load-more selector=".web-hooks tr" action=(action "loadMore")}} {{#each model as |webHook|}} {{/each}}
{{i18n 'admin.web_hooks.delivery_status.title'}} {{i18n 'admin.web_hooks.payload_url'}} {{i18n 'admin.web_hooks.description'}} {{i18n 'admin.web_hooks.controls'}}
{{#link-to 'adminWebHooks.showEvents' webHook.id}}{{admin-web-hook-status deliveryStatuses=deliveryStatuses model=webHook}}{{/link-to}} {{#link-to 'adminWebHooks.show' webHook}}{{webHook.payload_url}}{{/link-to}} {{webHook.description}} {{#link-to 'adminWebHooks.show' webHook tagName='button' classNames='btn btn-default no-text'}}{{d-icon 'far-edit'}}{{/link-to}} {{d-button class="destroy btn-danger" action=(action "destroy") actionParam=webHook icon="times"}}
{{conditional-loading-spinner condition=model.loadingMore}} {{/load-more}} {{else}}

{{i18n 'admin.web_hooks.none'}}

{{/if}}