X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/ec4cbbd0041122f30d13afc016f8a5fac72e0754..refs/pull/5725/head:/resources/views/books/index.blade.php diff --git a/resources/views/books/index.blade.php b/resources/views/books/index.blade.php index 447d6fd44..197de011d 100644 --- a/resources/views/books/index.blade.php +++ b/resources/views/books/index.blade.php @@ -17,16 +17,16 @@ @if(count($popular) > 0) @include('entities.list', ['entities' => $popular, 'style' => 'compact']) @else -
{{ trans('entities.books_popular_empty') }}
+

{{ trans('entities.books_popular_empty') }}

@endif
{{ trans('entities.books_new') }}
- @if(count($popular) > 0) + @if(count($new) > 0) @include('entities.list', ['entities' => $new, 'style' => 'compact']) @else -
{{ trans('entities.books_new_empty') }}
+

{{ trans('entities.books_new_empty') }}

@endif
@stop @@ -35,9 +35,9 @@
{{ trans('common.actions') }}
-
- @if(user()->can('book-create-all')) - +
-@stop \ No newline at end of file +@stop