@push('title', $ticket->title)

{{ $ticket->title }}

[{{ $ticket->category->name }}]
@if($ticket->isOpen())
@method('PUT') @csrf
@else
@method('PUT') @csrf
@endif @if($ticket->canManageTicket()) @endif
@method('DELETE') @csrf
{{ \Stevebauman\Purify\Facades\Purify::clean($ticket->content) }}

{{ __('Comments') }}

{{ __('Please submit your reply below') }}

@if($ticket->isOpen())
@csrf
@endif
@forelse($ticket->replies as $reply) @if($reply->user_id === auth()->user()->id)
{{ $reply->user->username }}
{{ $reply->created_at->diffForHumans() }} @if($reply->user_id === Auth::id() || hasPermission('delete_website_ticket_replies'))
@method('DELETE') @csrf
@endif
{{ \Stevebauman\Purify\Facades\Purify::clean($reply->content) }}
@else
{{ $reply->created_at->diffForHumans() }} @if($reply->user_id === Auth::id() || hasPermission('delete_website_ticket_replies'))
@method('DELETE') @csrf
@endif
{{ $reply->user->username }}
{{ \Stevebauman\Purify\Facades\Purify::clean($reply->content) }}
@endif @empty

{{ __('There is currently no replies') }}

@endforelse

{{ __('Open tickets') }}

{{ __('Your current open tickets') }}

@forelse($openTickets as $ticket) @empty

{{ __('You currently have no open tickets.') }}

@endforelse