@include('shared.message')
@if(count($documents) == 0)
{{ __('No data') }}.
@else
{{ __('URL') }}
{{ __('User') }}
@foreach($documents as $document)
@if($document->template->isCustom())
{{ $document->template->icon }}
@else
@include('icons.' . $document->template->icon, ['class' => 'fill-current width-4 height-4 text-' . categoryColor($document->template->category_id)])
@endif
@endforeach
{{ __('Showing :from-:to of :total', ['from' => $documents->firstItem(), 'to' => $documents->lastItem(), 'total' => $documents->total()]) }}
{{ $documents->onEachSide(1)->links() }}
@endif