mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-11 20:54:38 +08:00
4b0c4e621a
Also changed up how base URL setting was being done by manipulating incoming request URLs instead of altering then on generation.
31 lines
1.1 KiB
PHP
31 lines
1.1 KiB
PHP
@if(count($draftPages) > 0)
|
|
<div id="recent-drafts" class="mb-xl">
|
|
<h5>{{ trans('entities.my_recent_drafts') }}</h5>
|
|
@include('partials.entity-list', ['entities' => $draftPages, 'style' => 'compact'])
|
|
</div>
|
|
@endif
|
|
|
|
<div class="mb-xl">
|
|
<h5>{{ trans('entities.' . ($signedIn ? 'my_recently_viewed' : 'books_recent')) }}</h5>
|
|
@include('partials.entity-list', [
|
|
'entities' => $recents,
|
|
'style' => 'compact',
|
|
'emptyText' => $signedIn ? trans('entities.no_pages_viewed') : trans('entities.books_empty')
|
|
])
|
|
</div>
|
|
|
|
<div class="mb-xl">
|
|
<h5><a class="no-color" href="{{ url("/pages/recently-updated") }}">{{ trans('entities.recently_updated_pages') }}</a></h5>
|
|
<div id="recently-updated-pages">
|
|
@include('partials.entity-list', [
|
|
'entities' => $recentlyUpdatedPages,
|
|
'style' => 'compact',
|
|
'emptyText' => trans('entities.no_pages_recently_updated')
|
|
])
|
|
</div>
|
|
</div>
|
|
|
|
<div id="recent-activity" class="mb-xl">
|
|
<h5>{{ trans('entities.recent_activity') }}</h5>
|
|
@include('partials.activity-list', ['activity' => $activity])
|
|
</div> |