@extends('layouts.app') @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') @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()){{ $conversation->getChannelName() }}@endif @action('conversation.after_subject', $conversation, $mailbox)
  # {{ $conversation->number }}
@foreach ($viewers as $viewer) @include('partials/person_photo', ['person' => $viewer['user']]) @endforeach
@action('conversation.after_subject_block', $conversation, $mailbox)
@if ($customer)
@include('customers/profile_snippet', ['customer' => $customer, 'main_email' => $conversation->customer_email, 'conversation' => $conversation]) {{--
--}}
@action('conversation.before_prev_convs', $customer, $conversation, $mailbox) @if (count($prev_conversations)) @include('conversations/partials/prev_convs_short') @endif @endif @action('conversation.after_prev_convs', $customer, $conversation, $mailbox)
@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