@section('title') Dashboard @stop @section('content-header') Dashboard @stop @section('content')
@if(Auth::user()->can('news'))
Notícias {{ News::remember(5)->count() }}
@endif @if(Auth::user()->can('documents'))
Documentos {{ Document::where('is_folder', 0)->remember(5)->count() }}
@endif

Páginas mais visualizadas

@if($topPages) @foreach($topPages as $page) @endforeach @endif
Página Visitas
{{ str_limit($page[0], 30) }} {{ $page[2] }}
@stop @section('styles') {{ HTML::style('assets/vendor/bootstrap-datepicker/dist/css/bootstrap-datepicker3.min.css') }} @stop @section('plugins') {{ HTML::script('assets/vendor/admin-lte/plugins/chartjs/Chart.min.js') }} {{ HTML::script('assets/vendor/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js')}} {{ HTML::script('assets/vendor/bootstrap-datepicker/dist/locales/bootstrap-datepicker.pt.min.js')}} @stop @section('scripts') @stop