1 @extends('layouts.simple')
5 <div class="container small">
8 @include('settings.parts.navbar', ['selected' => 'webhooks'])
11 <div class="card content-wrap auto-height">
13 <div class="grid half v-center">
14 <h1 class="list-heading">{{ trans('settings.webhooks') }}</h1>
16 <div class="text-right">
17 <a href="{{ url("/settings/webhooks/create") }}"
18 class="button outline">{{ trans('settings.webhooks_create') }}</a>
22 @if(count($webhooks) > 0)
26 <th>{{ trans('common.name') }}</th>
27 <th width="100">{{ trans('settings.webhook_events_table_header') }}</th>
28 <th width="100">{{ trans('common.status') }}</th>
30 @foreach($webhooks as $webhook)
33 <a href="{{ $webhook->getUrl() }}">{{ $webhook->name }}</a> <br>
34 <span class="small text-muted italic">{{ $webhook->endpoint }}</span>
37 @if($webhook->tracksEvent('all'))
38 {{ trans('settings.webhooks_events_all') }}
40 {{ $webhook->trackedEvents->count() }}
44 {{ trans('common.status_' . ($webhook->active ? 'active' : 'inactive')) }}
50 <p class="text-muted empty-text px-none">
51 {{ trans('settings.webhooks_none_created') }}