X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/dbd4281ae80a5be2d631a0c8bd9e8dc29546c92e..refs/pull/5721/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 d6423b6fb..a564effe2 100644 --- a/resources/views/settings/webhooks/index.blade.php +++ b/resources/views/settings/webhooks/index.blade.php @@ -4,54 +4,52 @@
-
- @include('settings.parts.navbar', ['selected' => 'webhooks']) -
+ @include('settings.parts.navbar', ['selected' => 'webhooks'])
-
+

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

- - @if(count($webhooks) > 0) +

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

+ +
+
+
+
+ +
+
+
+
+ @include('common.sort', $listOptions->getSortControlData()) +
+
- - - - - - + @if(count($webhooks) > 0) +
@foreach($webhooks as $webhook) -
- - - - + @include('settings.webhooks.parts.webhooks-list-item', ['webhook' => $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 +
+ {{ $webhooks->links() }} +