{{ csrf_field() }} {{--

{{ __("These settings are used to send system emails (alerts to admin and invitation emails to users).") }}

--}}
@if ($token_error)
{{ __('Invalid API Token') }} ({{ $token_error }})
@endif @include('partials/field_error', ['field'=>'settings.slack.api_token'])
@foreach ($events as $event_code => $event_title)
@endforeach
@if ($channels_mapping) @if ($channels_error && !$token_error)
{{ __('Error occured retrieving data from Slack API.') }} ({{ __("View logs") }})
@endif @if (count($channels_mapping))
{{ __('Mailbox') }}
{{ __('Channel') }}
@endif @foreach ($channels_mapping as $mailbox_id => $mapping)
{{ $mapping['mailbox']->name }}
@endforeach @else
{{ __('There are no mailboxes yet.') }} {{ __("Create Mailbox") }}
@endif