@extends('layouts.admin') @section('page-title','') @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>[ route('admin.dashboard')=>__('default.dashboard'), route('admin.lesson.index')=>__lang('classes'), '#'=>isset($pageTitle)?$pageTitle:'' ]]) @endsection @section('content')
@php foreach($paginator as $row): @endphp @php endforeach; @endphp
{{ __lang('sort-order') }} {{ __lang('name') }} {{ __lang('content') }} {{ __lang('downloads') }} {{ __lang('actions') }}
{{ $row->sort_order }} {{ $row->title }} {{ $lecturePageTable->getTotalLecturePages($row->id) }} {{ __lang('items') }} {{ $lectureFileTable->getTotalForDownload($row->id) }} {{ __lang('files') }}
@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'=>'lecture', 'action'=>'index', 'id'=>$id ) ); @endphp
@endsection @section('footer') @endsection