@extends('layouts.student') @section('pageTitle',$pageTitle) @section('innerTitle',$pageTitle) @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>[ route('student.dashboard')=>__lang('dashboard'), '#'=>$pageTitle ]]) @endsection @section('content')
@php foreach($paginator as $row): @endphp @php endforeach; @endphp
{{ __lang('id') }} {{ __lang('name') }} {{ __lang('course') }} {{ __lang('files') }}
{{ $row->download_id }} {{ $row->download_name }} {{ $row->course_name }} {{ $fileTable->getTotalForDownload($row->download_id) }} @php if ($fileTable->getTotalForDownload($row->download_id)> 0): @endphp {{ __lang('view-files') }} {{ __lang('Download All') }} @php else: @endphp {{ __lang('no-files-available') }} @php endif; @endphp
@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 route('student.download.index') ); @endphp
@endsection