@extends('website.layouts.master') @section('title', $ticket->title) @section('pagecss') @endsection @section('content') @include('website.layouts.title', ['simple'=>true]) @if(!empty($errors->all())) × @foreach($errors->all() as $error) {{ $error }} @endforeach @endif @foreach(json_decode($ticket->description) as $key => $description) {{ ucfirst($key) }} {{ $description }} @endforeach @if($ticket->status != \App\Ticket::STATUS_CLOSED) {{ csrf_field() }} Send @endif @foreach($ticket->messages as $message) @php($file = ($message->user)?$message->user->archive->findChildByContentType("Personal Photo"):null) @if($file) @else @endif @if($message->user) {{ $message->user->en_name }} @elseif($ticket->isExternal()) {{ $ticket->externalName() }} @endif {{ $message->createdFrom() }} {!! nl2br(htmlspecialchars($message->comment)) !!} @endforeach @include('website.components.topics') @include('website.components.events') @endsection @section('pagejs') @endsection
{!! nl2br(htmlspecialchars($message->comment)) !!}