mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-04-11 09:56:16 +08:00
Merge pull request #5470 from Silverlan/patch-1
Some checks failed
analyse-php / build (push) Has been cancelled
lint-js / build (push) Has been cancelled
lint-php / build (push) Has been cancelled
test-js / build (push) Has been cancelled
test-php / build (8.2) (push) Has been cancelled
test-php / build (8.3) (push) Has been cancelled
test-php / build (8.4) (push) Has been cancelled
test-migrations / build (8.2) (push) Has been cancelled
test-migrations / build (8.3) (push) Has been cancelled
test-migrations / build (8.4) (push) Has been cancelled
Some checks failed
analyse-php / build (push) Has been cancelled
lint-js / build (push) Has been cancelled
lint-php / build (push) Has been cancelled
test-js / build (push) Has been cancelled
test-php / build (8.2) (push) Has been cancelled
test-php / build (8.3) (push) Has been cancelled
test-php / build (8.4) (push) Has been cancelled
test-migrations / build (8.2) (push) Has been cancelled
test-migrations / build (8.3) (push) Has been cancelled
test-migrations / build (8.4) (push) Has been cancelled
Fix incorrect condition for displaying new books section
This commit is contained in:
commit
2291d78382
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
<div id="new" class="mb-xl">
|
<div id="new" class="mb-xl">
|
||||||
<h5>{{ trans('entities.books_new') }}</h5>
|
<h5>{{ trans('entities.books_new') }}</h5>
|
||||||
@if(count($popular) > 0)
|
@if(count($new) > 0)
|
||||||
@include('entities.list', ['entities' => $new, 'style' => 'compact'])
|
@include('entities.list', ['entities' => $new, 'style' => 'compact'])
|
||||||
@else
|
@else
|
||||||
<p class="text-muted pb-l mb-none">{{ trans('entities.books_new_empty') }}</p>
|
<p class="text-muted pb-l mb-none">{{ trans('entities.books_new_empty') }}</p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user