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