@extends('layouts.app') @php $is_in_chat_mode = $conversation->isInChatMode(); @endphp @section('title_full', '#'.$conversation->number.' '.$conversation->getSubject().($customer ? ' - '.$customer->getFullName(true) : '')) @if (app('request')->input('print')) @section('body_class', 'body-conv print') @else @section('body_class', 'body-conv'.($is_in_chat_mode ? ' chat-mode' : '')) @endif @section('body_attrs')@parent data-conversation_id="{{ $conversation->id }}"@endsection @section('sidebar') @include('partials/sidebar_menu_toggle') @include('mailboxes/sidebar_menu_view') @endsection @section('content') @include('partials/flash_messages')
{{-- There should be no spaces between buttons --}} @if (!$conversation->isPhone() || ($customer && $customer->getMainEmail())) @endif @if (Auth::user()->can('delete', $conversation)) @if ($conversation->state != App\Conversation::STATE_DELETED) @else @endif @endif @action('conversation.action_buttons', $conversation, $mailbox)
    @if ($conversation->state != App\Conversation::STATE_DELETED)
  • getAssigneeName(true) }}">
  • @endif
  • getStatusName() }}"> @if ($conversation->state != App\Conversation::STATE_DELETED) @else @endif
{{ $conversation->getSubject() }}
@if ($conversation->isChat() && $conversation->getChannelName()) @if (\Helper::isChatMode()) {{ __('Chat Mode') }}@else {{ __('Chat Mode') }}@endif {{ $conversation->getChannelName() }} @endif @action('conversation.after_subject', $conversation, $mailbox)
  # {{ $conversation->number }}
@foreach ($viewers as $viewer) @include('partials/person_photo', ['person' => $viewer['user']]) @endforeach
@if ($is_in_chat_mode)
@if ($conversation->user_id != Auth::user()->id) @elseif (!$conversation->isClosed()) @endif {{ __('Show Details') }}
@endif @action('conversation.after_subject_block', $conversation, $mailbox) @if ($conversation->isInChatMode())
@endif
@include('conversations/partials/customer_sidebar')
@include('conversations/partials/threads')
@endsection @section('body_bottom') @parent @include('conversations.partials.settings_modal', ['conversation' => $conversation]) @append @include('partials/editor') @section('javascript') @parent initReplyForm(); initConversation(); @endsection