BookStack/resources/views/settings/webhooks/parts/webhooks-list-item.blade.php
Dan Brown f75091a1c5
Revised webhooks list to new format
Also aligned query naming to start with model in use.
Also added created/updated sort options to roles.
2022-10-30 12:02:06 +00:00

18 lines
829 B
PHP

<div class="item-list-row py-s">
<div class="flex-container-row">
<div class="flex-2 py-xxs px-m flex-container-row items-center gap-s">
@include('common.status-indicator', ['status' => $webhook->active])
<a href="{{ $webhook->getUrl() }}">{{ $webhook->name }}</a>
</div>
<div class="flex py-xxs px-m text-right text-muted">
@if($webhook->tracksEvent('all'))
{{ trans('settings.webhooks_events_all') }}
@else
{{ trans_choice('settings.webhooks_x_trigger_events', $webhook->tracked_events_count, ['count' => $webhook->tracked_events_count]) }}
@endif
</div>
</div>
<div class="px-m py-xxs text-muted italic text-limit-lines-1">
<small>{{ $webhook->endpoint }}</small>
</div>
</div>