mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-15 07:33:36 +08:00
18 lines
826 B
PHP
18 lines
826 B
PHP
<div class="item-list-row py-s">
|
|
<div class="flex-container-row">
|
|
<div class="flex-2 px-m flex-container-row items-center gap-xs">
|
|
@include('common.status-indicator', ['status' => $webhook->active])
|
|
<div> <a href="{{ $webhook->getUrl() }}">{{ $webhook->name }}</a></div>
|
|
</div>
|
|
<div class="flex 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 text-muted italic text-limit-lines-1">
|
|
<small>{{ $webhook->endpoint }}</small>
|
|
</div>
|
|
</div> |