discourse/app/assets/javascripts/admin/addon/templates/components/admin-web-hook-event.hbs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
887 B
Handlebars
Raw Normal View History

2016-09-15 12:57:04 +08:00
<div class="col first status">
<span class={{this.statusColorClasses}}>{{this.model.status}}</span>
2016-06-16 01:49:57 +08:00
</div>
<div class="col event-id">{{this.model.id}}</div>
<div class="col timestamp">{{this.createdAt}}</div>
<div class="col completion">{{this.completion}}</div>
2016-06-16 01:49:57 +08:00
<div class="col actions">
<DButton @icon={{this.expandRequestIcon}} @action={{action "toggleRequest"}} @label="admin.web_hooks.events.request" />
<DButton @icon={{this.expandResponseIcon}} @action={{action "toggleResponse"}} @label="admin.web_hooks.events.response" />
<DButton @icon="sync" @action={{action "redeliver"}} @label="admin.web_hooks.events.redeliver" />
2016-06-16 01:49:57 +08:00
</div>
{{#if this.expandDetails}}
2016-06-16 01:49:57 +08:00
<div class="details">
<h3>{{i18n "admin.web_hooks.events.headers"}}</h3>
<pre><code>{{this.headers}}</code></pre>
<h3>{{this.bodyLabel}}</h3>
<pre><code>{{this.body}}</code></pre>
2016-06-16 01:49:57 +08:00
</div>
{{/if}}