mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 18:23:43 +08:00
371bbadb92
* Run no-implicit-this codemod for app templates * Run tagless-ember-components-codemod for plugins * Turn on no-implicit-this lint
20 lines
887 B
Handlebars
20 lines
887 B
Handlebars
<div class="col first status">
|
|
<span class={{this.statusColorClasses}}>{{this.model.status}}</span>
|
|
</div>
|
|
<div class="col event-id">{{this.model.id}}</div>
|
|
<div class="col timestamp">{{this.createdAt}}</div>
|
|
<div class="col completion">{{this.completion}}</div>
|
|
<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" />
|
|
</div>
|
|
{{#if this.expandDetails}}
|
|
<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>
|
|
</div>
|
|
{{/if}}
|