{{-- Page title --}} @section('title') {{ trans('admin/settings/general.webhook_title') }} @parent @stop @section('header_right') {{ trans('general.back') }} @stop {{-- Page content --}} @section('content')
{{csrf_field()}}

{{ trans('admin/settings/general.webhook', ['app' => $webhook_name] ) }}

@if($webhook_selected != 'general')

{!! trans('admin/settings/general.webhook_integration_help',array('webhook_link' => $webhook_link, 'app' => $webhook_name)) !!}


@endif
@if(session()->has('success'))
{{session('success')}}
@endif @if(session()->has('error'))
{{session('error')}}
@endif
@if (app('demo_mode')) @include('partials.forms.demo-mode') @endif
{{ Form::label('webhook_endpoint', trans('admin/settings/general.webhook_endpoint',['app' => $webhook_name ])) }}
{!! $errors->first('webhook_endpoint', '') !!}
@if (app('demo_mode')) @include('partials.forms.demo-mode') @endif
{{ Form::label('webhook_channel', trans('admin/settings/general.webhook_channel',['app' => $webhook_name ])) }}
{!! $errors->first('webhook_channel', '') !!}
@if (!app('demo_mode')) @include('partials.forms.demo-mode') @endif
{{ Form::label('webhook_botname', trans('admin/settings/general.webhook_botname',['app' => $webhook_name ])) }}
{!! $errors->first('webhook_botname', '') !!}
@if (app('demo_mode')) @include('partials.forms.demo-mode') @endif @if($webhook_selected == 'slack') @if($webhook_endpoint != null && $webhook_channel != null) @endif @endif