X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/4621d8bcc51d2cba552055151ae6696348231b54..refs/pull/3138/head:/resources/views/settings/webhooks/index.blade.php diff --git a/resources/views/settings/webhooks/index.blade.php b/resources/views/settings/webhooks/index.blade.php index 8adf60835..296bbd7ed 100644 --- a/resources/views/settings/webhooks/index.blade.php +++ b/resources/views/settings/webhooks/index.blade.php @@ -14,10 +14,44 @@

{{ trans('settings.webhooks') }}

- {{ trans('settings.webhooks_create') }} + {{ trans('settings.webhooks_create') }}
+ @if(count($webhooks) > 0) + + + + + + + + @foreach($webhooks as $webhook) + + + + + + @endforeach +
{{ trans('common.name') }}{{ trans('settings.webhook_events_table_header') }}{{ trans('common.status') }}
+ {{ $webhook->name }}
+ {{ $webhook->endpoint }} +
+ @if($webhook->tracksEvent('all')) + {{ trans('settings.webhooks_events_all') }} + @else + {{ $webhook->trackedEvents->count() }} + @endif + + {{ trans('common.status_' . ($webhook->active ? 'active' : 'inactive')) }} +
+ @else +

+ {{ trans('settings.webhooks_none_created') }} +

+ @endif +