2016-09-15 12:57:04 +08:00
|
|
|
<div class="col first status">
|
2016-06-16 01:49:57 +08:00
|
|
|
<span class="{{statusColorClasses}}">{{model.status}}</span>
|
|
|
|
</div>
|
|
|
|
<div class="col event-id">{{model.id}}</div>
|
|
|
|
<div class="col timestamp">{{createdAt}}</div>
|
|
|
|
<div class="col completion">{{completion}}</div>
|
|
|
|
<div class="col actions">
|
2019-04-16 14:24:30 +08:00
|
|
|
{{d-button icon=expandRequestIcon action=(action "toggleRequest") label="admin.web_hooks.events.request"}}
|
|
|
|
{{d-button icon=expandResponseIcon action=(action "toggleResponse") label="admin.web_hooks.events.response"}}
|
2019-03-01 02:03:14 +08:00
|
|
|
{{d-button icon="sync" action=(action "redeliver") label="admin.web_hooks.events.redeliver"}}
|
2016-06-16 01:49:57 +08:00
|
|
|
</div>
|
|
|
|
{{#if expandDetails}}
|
|
|
|
<div class="details">
|
2019-01-10 18:06:01 +08:00
|
|
|
<h3>{{i18n "admin.web_hooks.events.headers"}}</h3>
|
2016-06-16 01:49:57 +08:00
|
|
|
<pre><code>{{headers}}</code></pre>
|
|
|
|
<h3>{{bodyLabel}}</h3>
|
|
|
|
<pre><code>{{body}}</code></pre>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|