2016-06-15 13:49:57 -04:00
|
|
|
<div class="web-hook-direction">
|
|
|
|
{{#link-to 'adminWebHooks' tagName='button' classNames='btn'}}
|
2017-07-26 16:25:09 -04:00
|
|
|
{{d-icon 'list'}} {{i18n 'admin.web_hooks.events.go_list'}}
|
2016-06-15 13:49:57 -04:00
|
|
|
{{/link-to}}
|
2019-01-10 05:06:01 -05:00
|
|
|
{{d-button icon="paper-plane" label="admin.web_hooks.events.ping" action=(action "ping") disabled=pingDisabled}}
|
2016-06-15 13:49:57 -04:00
|
|
|
{{#link-to 'adminWebHooks.show' model.extras.web_hook_id tagName='button' classNames='btn'}}
|
2018-11-26 16:49:57 -05:00
|
|
|
{{d-icon 'far-edit'}} {{i18n 'admin.web_hooks.events.go_details'}}
|
2016-06-15 13:49:57 -04:00
|
|
|
{{/link-to}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class='web-hook-events-listing'>
|
|
|
|
{{#if model}}
|
2019-01-10 05:06:01 -05:00
|
|
|
{{#load-more selector=".web-hook-events li" action=(action "loadMore")}}
|
2018-02-26 21:34:46 -05:00
|
|
|
<div class='web-hook-events content-list'>
|
2016-09-15 00:57:04 -04:00
|
|
|
<div class='heading-container'>
|
|
|
|
<div class='col heading first status'>{{i18n 'admin.web_hooks.events.status'}}</div>
|
|
|
|
<div class='col heading event-id'>{{i18n 'admin.web_hooks.events.event_id'}}</div>
|
|
|
|
<div class='col heading timestamp'>{{i18n 'admin.web_hooks.events.timestamp'}}</div>
|
|
|
|
<div class='col heading completion'>{{i18n 'admin.web_hooks.events.completion'}}</div>
|
|
|
|
<div class='col heading actions'>{{i18n 'admin.web_hooks.events.actions'}}</div>
|
|
|
|
<div class='clearfix'></div>
|
|
|
|
</div>
|
|
|
|
{{#if hasIncoming}}
|
2020-02-11 09:55:16 -05:00
|
|
|
<a href class='alert alert-info clickable' tabindex="0" {{action "showInserted"}}>
|
2016-09-15 00:57:04 -04:00
|
|
|
{{count-i18n key="admin.web_hooks.events.incoming" count=incomingCount}}
|
2020-02-11 09:55:16 -05:00
|
|
|
</a>
|
2016-09-15 00:57:04 -04:00
|
|
|
{{/if}}
|
2016-06-15 13:49:57 -04:00
|
|
|
<ul>
|
|
|
|
{{#each model as |webHookEvent|}}
|
|
|
|
{{admin-web-hook-event model=webHookEvent}}
|
|
|
|
{{/each}}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
{{conditional-loading-spinner condition=model.loadingMore}}
|
|
|
|
{{/load-more}}
|
|
|
|
{{else}}
|
|
|
|
<p>{{i18n 'admin.web_hooks.events.none'}}</p>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|