@extends('twill::layouts.main') @php $emptyMessage = $emptyMessage ?? twillTrans('twill::lang.dashboard.empty-message'); $isDashboard = true; $translate = true; @endphp @push('extra_css') @if(app()->isProduction()) @endif @unless(config('twill.dev_mode', false)) @endunless @endpush @push('extra_js_head') @if(app()->isProduction()) @endif @endpush @section('appTypeClass', 'body--dashboard') @section('primaryNavigation') @if (config('twill.enabled.search', false))
@endif @stop @section('content')
@if(($facts ?? false) || (!$drafts->isEmpty()))
@endif @if(($facts ?? false) || (!$drafts->isEmpty()))
@endif
@stop @section('initialStore') window['{{ config('twill.js_namespace') }}'].STORE.datatable = {} window['{{ config('twill.js_namespace') }}'].STORE.datatable.mine = {!! json_encode($myActivityData) !!} window['{{ config('twill.js_namespace') }}'].STORE.datatable.all = {!! json_encode($allActivityData) !!} window['{{ config('twill.js_namespace') }}'].STORE.datatable.data = window['{{ config('twill.js_namespace') }}'].STORE.datatable.all window['{{ config('twill.js_namespace') }}'].STORE.datatable.columns = {!! json_encode($tableColumns) !!} @stop @push('extra_js') @endpush