2018-09-18 14:28:59 +01:00
|
|
|
@php
|
|
|
|
$is_reply = (isset($is_reply) && $is_reply);
|
|
|
|
@endphp
|
|
|
|
|
2018-09-18 10:19:47 +01:00
|
|
|
<li class="photo-comment" data-comment-id="{{ $comment->id }}">
|
|
|
|
Comment by <b>{{ $comment->createdBy->name }}</b>:<br/>
|
|
|
|
{{ $comment->comment_text }}
|
|
|
|
|
2018-09-18 14:28:59 +01:00
|
|
|
@if (!$is_reply && $comment->depth() < UserConfig::get('photo_comments_thread_depth'))
|
2018-09-18 10:19:47 +01:00
|
|
|
<p><button v-on:click="replyToComment" class="btn btn-sm btn-outline-primary">@lang('gallery.photo_comments_reply_action')</button></p>
|
|
|
|
@endif
|
|
|
|
</li>
|