2017-08-20 14:57:25 +02:00
|
|
|
@extends('simple-layout')
|
2015-08-12 19:48:26 +02:00
|
|
|
|
2017-08-20 14:57:25 +02:00
|
|
|
@section('toolbar')
|
|
|
|
<div class="col-sm-6 faded">
|
|
|
|
<div class="action-buttons text-left">
|
|
|
|
<a expand-toggle=".entity-list.compact .entity-item-snippet" 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>
|
2017-08-20 14:57:25 +02:00
|
|
|
@stop
|
|
|
|
|
|
|
|
@section('body')
|
2016-02-20 13:37:06 +01:00
|
|
|
|
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">
|
2017-08-20 14:57:25 +02:00
|
|
|
@if(count($draftPages) > 0)
|
|
|
|
<div id="recent-drafts" class="card">
|
2017-08-26 14:24:55 +02:00
|
|
|
<h3><i class="zmdi zmdi-edit"></i> {{ trans('entities.my_recent_drafts') }}</h3>
|
2016-03-13 13:04:08 +01:00
|
|
|
@include('partials/entity-list', ['entities' => $draftPages, 'style' => 'compact'])
|
2017-08-20 14:57:25 +02:00
|
|
|
</div>
|
2015-11-21 19:05:03 +01:00
|
|
|
@endif
|
2016-02-20 13:37:06 +01:00
|
|
|
|
2017-08-20 14:57:25 +02:00
|
|
|
<div class="card">
|
2017-08-26 14:24:55 +02:00
|
|
|
<h3><i class="zmdi zmdi-{{ $signedIn ? 'eye' : 'star-circle' }}"></i> {{ trans('entities.' . ($signedIn ? 'my_recently_viewed' : 'books_recent')) }}</h3>
|
2016-07-03 11:12:12 +02:00
|
|
|
@include('partials/entity-list', [
|
2017-08-20 14:57:25 +02:00
|
|
|
'entities' => $recents,
|
|
|
|
'style' => 'compact',
|
|
|
|
'emptyText' => $signedIn ? trans('entities.no_pages_viewed') : trans('entities.books_empty')
|
|
|
|
])
|
2016-03-05 23:54:53 +01:00
|
|
|
</div>
|
2017-08-20 14:57:25 +02:00
|
|
|
</div>
|
2016-02-20 19:51:01 +01:00
|
|
|
|
2017-08-20 14:57:25 +02:00
|
|
|
<div class="col-sm-4">
|
|
|
|
<div class="card">
|
2017-08-26 14:24:55 +02:00
|
|
|
<h3><i class="zmdi zmdi-file"></i> <a class="no-color" href="{{ baseUrl("/pages/recently-updated") }}">{{ trans('entities.recently_updated_pages') }}</a></h3>
|
2017-08-20 14:57:25 +02:00
|
|
|
<div id="recently-updated-pages">
|
|
|
|
@include('partials/entity-list', [
|
|
|
|
'entities' => $recentlyUpdatedPages,
|
|
|
|
'style' => 'compact',
|
|
|
|
'emptyText' => trans('entities.no_pages_recently_updated')
|
|
|
|
])
|
|
|
|
</div>
|
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">
|
2017-08-20 14:57:25 +02:00
|
|
|
<div class="card">
|
2017-08-26 14:24:55 +02:00
|
|
|
<h3><i class="zmdi zmdi-time"></i> {{ trans('entities.recent_activity') }}</h3>
|
|
|
|
@include('partials/activity-list', ['activity' => $activity])
|
2017-08-20 14:57:25 +02:00
|
|
|
</div>
|
2015-08-30 18:53:30 +02:00
|
|
|
</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
|