{{-- Page title --}} @section('title') {{ trans('admin/settings/general.slack_title', ['app' => $integration_app ]) }} @parent @stop @section('header_right') {{ trans('general.back') }} @stop {{-- Page content --}} @section('content')

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

{!! trans('admin/settings/general.slack_integration_help',array('slack_link' => $webhook_link, 'app' => $integration_app )) !!}


@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
{{var_dump($webhook_selected)}}



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

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

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

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

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

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

@else @endif {!! $errors->first('slack_botname', '') !!}
@if($slack_endpoint != null && $slack_channel != null) @endif
@stop @push('scripts') @endpush