@php use Spatie\Comments\Enums\NotificationSubscriptionType; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Gate; @endphp
@if($showFormOnly) @include('vendor.comments-metronic.livewire.partials.newComment') @else
@if($this->comments->total() > 0) Total Comments ({{ $this->comments->total() }}) @endif @if($writable && $showNotificationOptions && Auth::check())
@foreach(NotificationSubscriptionType::cases() as $case) @endforeach
@endif {{-- delete All Comments --}} @if($writable && !empty($this->loadedCommentsPages[array_keys($this->loadedCommentsPages)[0]]))

{{ __('comments::comments.delete_confirmation_text') }}

{{ __('comments::comments.delete') }}
@endif
@if ($newestFirst && !$hideNewCommentForm) @include('vendor.comments-metronic.livewire.partials.newComment')
@endif
@if ($currentPage > 1) {{--
Load Previous...
--}} {{--
Loading...
Loading...
--}} @endif @if(empty($this->loadedCommentsPages[array_keys($this->loadedCommentsPages)[0]])) {{--

{{ $noCommentsText ?? __('comments::comments.no_comments_yet') }}

--}}
There are no comments at the moment.
Be the first to comment.
@else @forelse($this->loadedCommentsPages as $commentsPage) @foreach($commentsPage as $comment) @continue(! Gate::check('see', $comment)) @endforeach @empty @endforelse @endif @if (!$isLastPage)
Load More... @endif
{{-- @if ($this->comments->hasPages()) {{ $this->comments->links() }} @endif --}} @if (! $newestFirst && !$hideNewCommentForm) @include('vendor.comments-metronic.livewire.partials.newComment') @endif @endif