1 @extends('layouts.simple')
5 <div class="container small">
7 @include('settings.parts.navbar', ['selected' => 'webhooks'])
9 <div class="card content-wrap auto-height">
11 <div class="grid half v-center">
12 <h1 class="list-heading">{{ trans('settings.webhooks') }}</h1>
14 <div class="text-right">
15 <a href="{{ url("/settings/webhooks/create") }}"
16 class="button outline">{{ trans('settings.webhooks_create') }}</a>
20 @if(count($webhooks) > 0)
24 <th>{{ trans('common.name') }}</th>
25 <th width="100">{{ trans('settings.webhook_events_table_header') }}</th>
26 <th width="100">{{ trans('common.status') }}</th>
28 @foreach($webhooks as $webhook)
31 <a href="{{ $webhook->getUrl() }}">{{ $webhook->name }}</a> <br>
32 <span class="small text-muted italic">{{ $webhook->endpoint }}</span>
35 @if($webhook->tracksEvent('all'))
36 {{ trans('settings.webhooks_events_all') }}
38 {{ $webhook->trackedEvents->count() }}
42 {{ trans('common.status_' . ($webhook->active ? 'active' : 'inactive')) }}
48 <p class="text-muted empty-text px-none">
49 {{ trans('settings.webhooks_none_created') }}