, total: int, page: int, pages: int, per_page: int} $page * @var int $unread сколько непрочитанных * @var \Rsgrinko\Proton\Support\Filters $filters */ use Rsgrinko\Proton\View\View; ?>
= $filters->active() ? 'Ничего не нашлось.' : 'Уведомлений пока нет.' ?>
| Уведомление | Когда | |
|---|---|---|
|
read()) { ?>
= View::e((string) $notification->title) ?>
= View::e((string) $notification->title) ?>
новое
raw('body')) !== '') { ?>
= nl2br(View::e((string) $notification->raw('body'))) ?>
|
= View::e(View::ago((string) $notification->raw('created_at'))) ?> |
read() || trim((string) $notification->raw('url')) !== '') { ?>
|