@foreach($comments as $comment) @if($comment instanceof App\TicketEvent) @include('components.ticketEvent', ["event" => $comment]) @else
@include('components.gravatar',["user" => $comment->author()] )
{{ $comment->author()->name }} · {{ $comment->created_at->diffForHumans() }}
@if($comment->private) @icon(sticky-note-o) @endif {!! nl2br( strip_tags($comment->body)) !!}
@include('components.attachments', ["attachments" => $comment->attachments])
@endif @endforeach
@gravatar($ticket->requester->email)
{{ $ticket->requester->name }} · {{ $ticket->created_at->diffForHumans() }}
{!! nl2br( strip_tags($ticket->body)) !!}
@include('components.attachments', ["attachments" => $ticket->attachments])