@php if(GLOBAL_ACCESS): @endphp
@php endif; @endphp
@php foreach($paginator as $row): @endphp
@php if(GLOBAL_ACCESS): @endphp
@php endif; @endphp
@php endforeach; @endphp
{{ __lang('id') }} |
{{ __lang('name') }} |
{{ __lang('files') }} |
{{ __lang('enabled') }} | {{ __lang('created-by') }} | {{ __lang('actions') }} |
{{ $row->id }} |
{{ $row->name }} |
{{ $fileTable->getTotalForDownload($row->id) }} |
{{ boolToString($row->enabled) }} | {{ adminName($row->admin_id) }} |
|
@php
// add at the end of the file after the table
echo paginationControl(
// the paginator object
$paginator,
// the scrolling style
'sliding',
// the partial to use to render the control
null,
// the route to link to when a user clicks a control link
array(
'route' => 'admin/default',
'controller'=>'download',
'action'=>'index',
)
);
@endphp