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

{{ 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('save'))
{{session('save')}}
@endif @if(session()->has('success'))
{{session('success')}}
@endif @if(session()->has('error'))
{{session('error')}}
@endif @if(session()->has('message'))
{{session('message')}}
@endif



{{csrf_field()}}
{{ Form::label('webhook_endpoint', trans('admin/settings/general.webhook_endpoint',['app' => $webhook_selected ])) }}
@if (config('app.lock_passwords')===true)

{{ trans('general.feature_disabled') }}

@else @endif {!! $errors->first('webhook_endpoint', '') !!}
{{ Form::label('webhook_channel', trans('admin/settings/general.webhook_channel',['app' => $webhook_selected ])) }}
@if (config('app.lock_passwords')===true)

{{ trans('general.feature_disabled') }}

@else @endif {!! $errors->first('webhook_channel', '') !!}
{{ Form::label('webhook_botname', trans('admin/settings/general.webhook_botname',['app' => $webhook_selected ])) }}
@if (config('app.lock_passwords')===true)

{{ trans('general.feature_disabled') }}

@else @endif {!! $errors->first('webhook_botname', '') !!}
@if($webhook_selected == 'slack') @if($webhook_endpoint != null && $webhook_channel != null) @endif @endif