@php $is_reply = (isset($is_reply) && $is_reply); @endphp
{{ $comment->authorDisplayName() }}:
{{ date(UserConfig::get('date_format'), strtotime($comment->created_at)) }}

{!! $comment->textAsHtml() !!}

@if (!$is_reply && $comment->depth() < UserConfig::get('photo_comments_thread_depth')) @lang('gallery.photo_comments_reply_action') @endif
@if (!$is_reply) @foreach ($comment->approvedChildren as $childComment) @include(Theme::viewName('partials.photo_single_comment'), ['comment' => $childComment]) @endforeach @endif