2018-09-17 22:30:27 +01:00
|
|
|
<div class="row">
|
|
|
|
<div class="col mt-4">
|
|
|
|
<h2>@lang('gallery.photo_comments_heading')</h2>
|
|
|
|
|
|
|
|
<h3>@lang('gallery.photo_comments_reply_form_heading')</h3>
|
|
|
|
<p>@lang('gallery.photo_comments_reply_form_p1')</p>
|
|
|
|
<hr/>
|
|
|
|
@include(Theme::viewName('partials.photo_comments_reply_form'))
|
|
|
|
|
|
|
|
@if ($photo->approvedComments()->count() > 0)
|
|
|
|
<ul>
|
|
|
|
@foreach ($photo->approvedComments as $comment)
|
2018-09-18 10:19:47 +01:00
|
|
|
@include(Theme::viewName('partials.photo_single_comment'))
|
2018-09-17 22:30:27 +01:00
|
|
|
@endforeach
|
|
|
|
</ul>
|
|
|
|
@endif
|
|
|
|
</div>
|
2018-09-18 10:19:47 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="modal" tabindex="-1" role="dialog" id="comment-reply-modal">
|
|
|
|
<div class="modal-dialog" role="document">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<h5 class="modal-title">@lang('gallery.photo_comments_reply_modal_title')</h5>
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<div v-if="is_reply_form_loading" class="text-center">
|
|
|
|
<p class="m-2"><img src="{{ asset('ripple.svg') }}" alt="@lang('global.please_wait')" title="@lang('global.please_wait')"></p>
|
|
|
|
<p>@lang('global.please_wait')</p>
|
|
|
|
</div>
|
2018-09-18 14:28:59 +01:00
|
|
|
|
|
|
|
<div id="comment-reply-form-content" v-bind:style="replyFormStyle">
|
|
|
|
</div>
|
2018-09-18 10:19:47 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-09-17 22:30:27 +01:00
|
|
|
</div>
|