@lang('gallery.photo_comments_heading')
@if (\App\User::currentOrAnonymous()->can('photo:post-comment'))
@lang('gallery.photo_comments_reply_form_heading')
@lang('gallery.photo_comments_reply_form_p1')
@include(Theme::viewName('partials.photo_comments_reply_form'))
@endif
@foreach ($photo->comments()->whereNull('parent_comment_id')->get() as $comment)
@if ($comment->isApproved())
@include(Theme::viewName('partials.photo_single_comment'))
@elseif (!$comment->isModerated() && Gate::allows('moderate-comments', $photo))
@include(Theme::viewName('partials.photo_single_comment_moderate'))
@endif
@endforeach