@php foreach($paginator as $row): @endphp
@php endforeach; @endphp
{{ __lang('student') }} |
{{ __lang('Submission Date') }} |
{{ __lang('grade') }} |
{{ __lang('status') }} |
{{ __lang('actions') }} |
{{ $row->first_name.' '.$row->last_name }} |
{{ showDate('d/m/Y',$row->updated_at) }} |
@php if(!is_null($row->grade)): @endphp
{{ $row->grade }}%
@php endif; @endphp
|
{{ ($row->editable==1)? __lang('ungraded'):__lang('graded') }}
|
{{ __lang('view-entry') }}
|
@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'=>'assignment',
'action'=>'submissions',
'id'=>$id
)
);
@endphp