]> BookStack Code Mirror - bookstack/blobdiff - resources/views/books/index.blade.php
Customization: Added parent tag classes
[bookstack] / resources / views / books / index.blade.php
index 418c0fea8d1d40ae16e4af61c45609e0180ebd28..197de011d0133c2de553cd993b9387b05da60611 100644 (file)
@@ -23,7 +23,7 @@
 
     <div id="new" class="mb-xl">
         <h5>{{ trans('entities.books_new') }}</h5>
-        @if(count($popular) > 0)
+        @if(count($new) > 0)
             @include('entities.list', ['entities' => $new, 'style' => 'compact'])
         @else
             <p class="text-muted pb-l mb-none">{{ trans('entities.books_new_empty') }}</p>
@@ -59,4 +59,4 @@
         </div>
     </div>
 
-@stop
\ No newline at end of file
+@stop