{{#link-to 'adminWebHooks.show' 'new' tagName='button' classNames='btn'}} {{d-icon 'plus'}} {{i18n 'admin.web_hooks.new'}} {{/link-to}}
{{#if model}}

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

{{#load-more selector=".web-hooks tr" 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 'edit'}}{{/link-to}} {{d-button class="destroy btn-danger" action='destroy' actionParam=webHook icon="remove"}}
{{conditional-loading-spinner condition=model.loadingMore}} {{/load-more}} {{else}}

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

{{/if}}