discourse/app/assets/javascripts/admin/addon/templates/web-hooks-show.hbs

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

34 lines
791 B
Handlebars
Raw Normal View History

<LinkTo @route="adminWebHooks" class="go-back">
{{d-icon "arrow-left"}}
2016-06-16 01:49:57 +08:00
{{i18n "admin.web_hooks.go_back"}}
</LinkTo>
2016-06-16 01:49:57 +08:00
<div class="admin-webhooks__summary">
<h1>
{{this.model.payload_url}}
<DButton
@action={{this.edit}}
@icon="far-pen-to-square"
@title={{i18n "admin.web_hooks.edit"}}
class="no-text admin-webhooks__edit-button"
/>
<DButton
@action={{this.destroyWebhook}}
@icon="xmark"
@title="delete"
class="destroy btn-danger admin-webhooks__delete-button"
/>
</h1>
<div>
<span class="admin-webhooks__description-label">
{{i18n "admin.web_hooks.description_label"}}:
</span>
{{this.model.description}}
2016-06-16 01:49:57 +08:00
</div>
</div>
<WebhookEvents @webhookId={{this.model.id}} @status={{this.status}} />