@if (!empty($teacher) && $messagePaginator->isNotEmpty()) {{--
全部標記為已讀
--}} @foreach ($messagePaginator as $message) @include('.frontend.template.teacher.message.box',[ 'message' => $message ]) @endforeach @if ($messagePaginator->hasPages())
上一頁
@if ($messagePaginator->hasMorePages())
下一頁
@endif
@endif @else
沒有新信息
@endif