X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/15c39c1976cf26e7ed35d1787ad089495c6777f7..refs/pull/1973/head:/resources/views/comments/comments.blade.php diff --git a/resources/views/comments/comments.blade.php b/resources/views/comments/comments.blade.php index 99b21b9b2..fc81f13ee 100644 --- a/resources/views/comments/comments.blade.php +++ b/resources/views/comments/comments.blade.php @@ -1,4 +1,4 @@ -
+
@exposeTranslations([ 'entities.comment_updated_success', @@ -9,7 +9,7 @@
{{ trans_choice('entities.comment_count', count($page->comments), ['count' => count($page->comments)]) }}
- @if (count($page->comments) === 0) + @if (count($page->comments) === 0 && userCan('comment-create-all'))
@@ -25,13 +25,13 @@ @if(userCan('comment-create-all')) @include('comments.create') - @endif - @if (count($page->comments) > 0) -
- -
+ @if (count($page->comments) > 0) +
+ +
+ @endif @endif -
\ No newline at end of file +
\ No newline at end of file