2022-10-30 20:02:06 +08:00
|
|
|
<div class="item-list-row py-s">
|
|
|
|
<div class="flex-container-row">
|
2022-10-31 05:06:42 +08:00
|
|
|
<div class="flex-2 px-m flex-container-row items-center gap-xs">
|
2022-10-30 20:02:06 +08:00
|
|
|
@include('common.status-indicator', ['status' => $webhook->active])
|
2022-10-31 05:06:42 +08:00
|
|
|
<div> <a href="{{ $webhook->getUrl() }}">{{ $webhook->name }}</a></div>
|
2022-10-30 20:02:06 +08:00
|
|
|
</div>
|
2022-10-31 05:06:42 +08:00
|
|
|
<div class="flex px-m text-right text-muted">
|
2022-10-30 20:02:06 +08:00
|
|
|
@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>
|
2022-10-31 05:06:42 +08:00
|
|
|
<div class="px-m text-muted italic text-limit-lines-1">
|
2022-10-30 20:02:06 +08:00
|
|
|
<small>{{ $webhook->endpoint }}</small>
|
|
|
|
</div>
|
|
|
|
</div>
|