@foreach ($commentReplies as $commentReply) @php $user = $commentReply->user; @endphp @if ($loop->first)
{{ $user->username }}
{{ $user->username }}
@if ($user->isAdmin())
@else @if ($user->hasPurchasedItem($item->id))
{{ translate('Purchased') }}
@if ((authUser() && authUser()->isAdmin()) || (authUser() && authUser()->id == $user->id)) @php $purchase = $user->getItemPurchase($item->id); @endphp @if ($purchase) @if ($purchase->support_expiry_at) @if (!$purchase->isSupportExpired())
{{ translate('Supported') }}
@else
{{ translate('Support Expired') }}
@endif @endif @endif @endif @endif @endif
@if (authUser() && !$commentReply->hasReported()) @endif
@if ($commentReply->hasReported()) {{ translate('This comment is under review') }} @else {!! purifier($commentReply->body) !!} @endif
@if ($loop->last) @if ((authUser() && authUser()->isAdmin()) || (authUser() && authUser()->id == $comment->user->id))
{{ translate('Reply') }}
{{ authUser()->username }}
@endif @endif @if (!$allRepliesLoaded && $totalCommentReplies)
@endif
@else
{{ $user->username }}
{{ $user->username }}
@if ($user->isAdmin())
@endif

{{ $commentReply->created_at->diffforhumans() }}

@if (authUser() && !$commentReply->hasReported()) @endif
@if ($commentReply->hasReported()) {{ translate('This comment is under review') }} @else {!! purifier($commentReply->body) !!} @endif
@if ($loop->last) @if ((authUser() && authUser()->isAdmin()) || (authUser() && authUser()->id == $comment->user->id))
{{ translate('Reply') }}
{{ authUser()->username }}
@endif @endif
@endif @endforeach