@extends('backend.partials.master') @section('title', ___('admin.webhooks')) @section('maincontent') @php $canEdit = hasPermission('general_settings_update'); @endphp
{{ ___('admin.webhooks_help') }}
{{ ___('admin.webhooks_signature_help') }}
@if($newSecret){{ $newSecret }}
{{ ___('admin.webhook_failing', ['count' => $hook->consecutive_failures]) }}
@endif @include('backend.settings._webhook-form', ['hook' => $hook, 'action' => route('settings.webhooks.update', $hook->id), 'method' => 'PUT'])| {{ ___('admin.webhook_event') }} | {{ ___('admin.webhook_endpoint') }} | {{ ___('label.status') }} | {{ ___('admin.webhook_attempts') }} | |
|---|---|---|---|---|
{{ $d->event }}{{ $d->created_at?->diffForHumans() }} |
{{ $d->webhook?->name ?: $d->webhook?->url }} |
@if($d->status === 'sent'){{ $d->response_code }}
@elseif($d->status === 'failed'){{ ___('admin.webhook_failed') }}
@else{{ ___('admin.webhook_pending') }}@endif
@if($d->error) {{ $d->error }}@endif |
{{ $d->attempts }} | @if($canEdit && $d->status !== 'sent') @endif |
| {{ ___('admin.webhook_none_yet') }} | ||||