File size: 990B
<?php
use App\Models\Story;
use App\Models\User;
use MotorORM\CollectionPaginate;
/** @var User $user */
/** @var CollectionPaginate|Story[] $stories */
?>
<?php $this->layout('layout') ?>
<?php $this->start('title') ?>Статьи <?= $user->getName() ?> (Стр. <?= $stories->currentPage() ?>)<?php $this->stop() ?>
<?php $this->start('description') ?>Статьи <?= $user->getName() ?> (Стр. <?= $stories->currentPage() ?>)<?php $this->stop() ?>
<?php $this->start('header') ?>
<h1>Статьи <?= $user->getName() ?></h1>
<?php $this->stop() ?>
<?php $this->start('breadcrumb') ?>
<nav>
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/"><i class="bi bi-house-door"></i></a></li>
<li class="breadcrumb-item"><a href="/users/<?= $user->login ?>"><?= $user->getName() ?></a></li>
<li class="breadcrumb-item active">Статьи</li>
</ol>
</nav>
<?php $this->stop() ?>
<?= $this->fetch('stories/_list', compact('stories')) ?>