{{ $story->all_comments_count > 0 ? $story->all_comments_count : '' }} @if ($story->all_comments_count === 1) {{ __('Comment') }} @else {{ __('Comments') }} @endif

@auth
@can('add_comments') @if ($story->comment_visibility === 'Followers') @if (getCurrentUser()->id === $story->author->id || getCurrentUser()->isFollowing($story->author))
@if ($errors->has('newCommentState.comment')) @error('newCommentState.comment')

{{ $message }}

@enderror @endif
{{ __('Send') }}
@else
{{ __('Only author followers can comment') }}
@endif @else
@if ($errors->has('newCommentState.comment')) @error('newCommentState.comment')

{{ $message }}

@enderror @endif
{{ __('Submit') }}
@endif @else
{{ __('You do not have permission to post comments') }}
@endcan
@endauth @guest
{{ __('Comment') }}
@endguest
@if ($comments->count())
@foreach ($comments as $comment) @endforeach @if ($comments->hasMorePages())
{{ __('Load more') }}
@else
@endif
@endif