@forelse($downloads as $download) @empty @endforelse
{{ ctrans('texts.name') }} {{ ctrans('texts.resource') }} {{ ctrans('texts.type') }} {{ ctrans('texts.size') }} {{ ctrans('texts.download') }}
{{ Illuminate\Support\Str::limit($download->name, 20) }} {{ ((new \ReflectionClass($download->documentable))->getShortName()) }} {{ App\Models\Document::$types[$download->type]['mime'] }} {{ $download->size / 1000 }} kB
{{ ctrans('texts.no_results') }}
@if($downloads->total() > 0) @endif {{ $downloads->links() }}