2015-08-12 19:48:26 +02:00
|
|
|
@extends('base')
|
|
|
|
|
|
|
|
@section('content')
|
2015-08-13 08:44:10 +02:00
|
|
|
|
2016-02-20 13:37:06 +01:00
|
|
|
<div class="faded-small toolbar">
|
|
|
|
<div class="container">
|
|
|
|
<div class="row">
|
2016-12-04 15:08:04 +01:00
|
|
|
<div class="col-sm-6 faded">
|
2016-02-20 13:37:06 +01:00
|
|
|
<div class="action-buttons text-left">
|
2016-12-04 15:08:04 +01:00
|
|
|
<a data-action="expand-entity-list-details" class="text-primary text-button"><i class="zmdi zmdi-wrap-text"></i>{{ trans('common.toggle_details') }}</a>
|
2016-02-20 13:37:06 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2015-12-30 22:38:20 +01:00
|
|
|
<div class="container" ng-non-bindable>
|
2015-08-30 18:53:30 +02:00
|
|
|
<div class="row">
|
2015-11-21 18:22:14 +01:00
|
|
|
|
2016-02-20 13:37:06 +01:00
|
|
|
<div class="col-sm-4">
|
2016-03-13 13:04:08 +01:00
|
|
|
<div id="recent-drafts">
|
|
|
|
@if(count($draftPages) > 0)
|
2016-12-04 15:08:04 +01:00
|
|
|
<h4>{{ trans('entities.my_recent_drafts') }}</h4>
|
2016-03-13 13:04:08 +01:00
|
|
|
@include('partials/entity-list', ['entities' => $draftPages, 'style' => 'compact'])
|
|
|
|
@endif
|
|
|
|
</div>
|
2015-11-21 19:05:03 +01:00
|
|
|
@if($signedIn)
|
2016-12-04 15:08:04 +01:00
|
|
|
<h4>{{ trans('entities.my_recently_viewed') }}</h4>
|
2015-11-21 19:05:03 +01:00
|
|
|
@else
|
2016-12-04 15:08:04 +01:00
|
|
|
<h4>{{ trans('entities.books_recent') }}</h4>
|
2015-11-21 19:05:03 +01:00
|
|
|
@endif
|
2016-07-03 11:12:12 +02:00
|
|
|
@include('partials/entity-list', [
|
|
|
|
'entities' => $recents,
|
|
|
|
'style' => 'compact',
|
2016-12-04 15:08:04 +01:00
|
|
|
'emptyText' => $signedIn ? trans('entities.no_pages_viewed') : trans('entities.books_empty')
|
2016-07-03 11:12:12 +02:00
|
|
|
])
|
2016-02-20 13:37:06 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-sm-4">
|
2016-12-04 15:08:04 +01:00
|
|
|
<h4><a class="no-color" href="{{ baseUrl("/pages/recently-created") }}">{{ trans('entities.recently_created_pages') }}</a></h4>
|
2016-03-05 23:54:53 +01:00
|
|
|
<div id="recently-created-pages">
|
2016-07-03 11:12:12 +02:00
|
|
|
@include('partials/entity-list', [
|
|
|
|
'entities' => $recentlyCreatedPages,
|
|
|
|
'style' => 'compact',
|
2016-12-04 15:08:04 +01:00
|
|
|
'emptyText' => trans('entities.no_pages_recently_created')
|
2016-07-03 11:12:12 +02:00
|
|
|
])
|
2016-03-05 23:54:53 +01:00
|
|
|
</div>
|
2016-02-20 19:51:01 +01:00
|
|
|
|
2016-12-04 15:08:04 +01:00
|
|
|
<h4><a class="no-color" href="{{ baseUrl("/pages/recently-updated") }}">{{ trans('entities.recently_updated_pages') }}</a></h4>
|
2016-03-05 23:54:53 +01:00
|
|
|
<div id="recently-updated-pages">
|
2016-07-03 11:12:12 +02:00
|
|
|
@include('partials/entity-list', [
|
|
|
|
'entities' => $recentlyUpdatedPages,
|
|
|
|
'style' => 'compact',
|
2017-01-03 17:48:13 +01:00
|
|
|
'emptyText' => trans('entities.no_pages_recently_updated')
|
2016-07-03 11:12:12 +02:00
|
|
|
])
|
2016-03-05 23:54:53 +01:00
|
|
|
</div>
|
2015-08-16 21:11:21 +02:00
|
|
|
</div>
|
2015-11-21 18:22:14 +01:00
|
|
|
|
2016-02-20 13:37:06 +01:00
|
|
|
<div class="col-sm-4" id="recent-activity">
|
2016-12-04 15:08:04 +01:00
|
|
|
<h4>{{ trans('entities.recent_activity') }}</h4>
|
2015-08-30 18:53:30 +02:00
|
|
|
@include('partials/activity-list', ['activity' => $activity])
|
|
|
|
</div>
|
2015-11-21 18:22:14 +01:00
|
|
|
|
2015-08-16 21:11:21 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-08-13 08:44:10 +02:00
|
|
|
|
2015-08-30 18:53:30 +02:00
|
|
|
|
2017-01-03 17:48:13 +01:00
|
|
|
@stop
|