@extends('layouts.app') @section('title_full', __('Edit Mailbox').' - '.$mailbox->name) @section('body_attrs')@parent data-mailbox_id="{{ $mailbox->id }}"@endsection @section('sidebar') @include('partials/sidebar_menu_toggle') @include('mailboxes/sidebar_menu') @endsection @section('content')
{{ __('Edit Mailbox') }}
@include('partials/flash_messages')
{{ csrf_field() }} @action('mailbox.update.before_name', $mailbox, $errors)
@if (Auth::user()->isAdmin()) @else @endif @include('partials/field_error', ['field'=>'name'])
@if (Auth::user()->isAdmin()) @else @endif @include('partials/field_error', ['field'=>'email'])
@if (Auth::user()->can('updateSettings', $mailbox))
@include('partials/field_error', ['field'=>'aliases'])
@include('partials/field_error', ['field'=>'auto_bcc'])
@include('partials/field_error', ['field'=>'from_name'])
@include('partials/field_error', ['field'=>'from_name_custom'])
@include('partials/field_error', ['field'=>'ticket_status'])
@action('mailbox.update.after_ticket_status', $mailbox) {{-- Email Template option hidden until somebody needs it --}}
@include('partials/field_error', ['field'=>'ticket_assignee'])
before_reply) checked="checked"@endif id="before-reply-toggle"> before_reply) readonly @endif name="before_reply" value="{{ old('before_reply', $mailbox->before_reply) }}" data-default="-- {{ __('Please reply above this line') }} --" placeholder="-- {{ __('Please reply above this line') }} --">
@include('partials/field_error', ['field'=>'before_reply'])
@endif @if (Auth::user()->can('updateSettings', $mailbox) || Auth::user()->can('updateEmailSignature', $mailbox))
@include('partials/field_error', ['field'=>'signature'])
@endif @action('mailbox.update.after_signature', $mailbox)
@if (auth()->user()->isAdmin()) {{ __('Delete mailbox') }} @endif
@endsection @include('partials/editor') @section('javascript') @parent mailboxUpdateInit('{{ App\Mailbox::FROM_NAME_CUSTOM }}'); @endsection