@extends('layouts.simple') @section('body')
@include('settings.parts.navbar', ['selected' => 'webhooks'])

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

@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
@stop