@extends('layouts.admin') @section('page-title','') @section('breadcrumb') @include('admin.partials.crumb',[ 'crumbs'=>[ route('admin.dashboard')=>__('default.dashboard'), '#'=>isset($pageTitle)?$pageTitle:'' ]]) @endsection @section('content')
@php foreach($paginator as $row): @endphp @php endforeach; @endphp
{{ __lang('subject') }} {{ __lang('subject') }} {{ __lang('created-on') }} {{ __lang('replied') }} {{ __lang('recipients') }} {{ __lang('actions') }}
{{ $row->subject }} {{ $row->name.' '.$row->last_name }} {{ showDate('d/M/Y',$row->created_at) }} {{ boolToString($row->replied) }} @php if($row->admin==1): @endphp {{ __lang('administrators') }}, @php endif; @endphp @php foreach($accountTable->getDiscussionAccounts($row->id) as $row2): @endphp {{ $row2->name.' '.$row2->last_name }}, @php endforeach; @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 array( 'route' => 'admin/default', 'controller'=>'discuss', 'action'=>'index', ) ); @endphp
@endsection