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
832 B
Handlebars
Raw Normal View History

2016-09-15 00:57:04 -04:00
<div class="col first status">
<span class={{statusColorClasses}}>{{model.status}}</span>
2016-06-15 13:49:57 -04:00
</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">
<DButton @icon={{expandRequestIcon}} @action={{action "toggleRequest"}} @label="admin.web_hooks.events.request" />
<DButton @icon={{expandResponseIcon}} @action={{action "toggleResponse"}} @label="admin.web_hooks.events.response" />
<DButton @icon="sync" @action={{action "redeliver"}} @label="admin.web_hooks.events.redeliver" />
2016-06-15 13:49:57 -04:00
</div>
{{#if expandDetails}}
<div class="details">
<h3>{{i18n "admin.web_hooks.events.headers"}}</h3>
2016-06-15 13:49:57 -04:00
<pre><code>{{headers}}</code></pre>
<h3>{{bodyLabel}}</h3>
<pre><code>{{body}}</code></pre>
</div>
{{/if}}