X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/cc10d1ddfc652f6bcf3bbf61d5ec2e2861394c03..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 0b407a860..197de011d 100644 --- a/resources/views/books/index.blade.php +++ b/resources/views/books/index.blade.php @@ -23,7 +23,7 @@
{{ 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') }}

@@ -49,7 +49,14 @@ @icon('tag') {{ trans('entities.tags_view_tags') }} + + @if(userCan('content-import')) + + @icon('upload') + {{ trans('entities.import') }} + + @endif
-@stop \ No newline at end of file +@stop