castopod/themes/cp_admin/podcast/view.php
Yassine Doghri 2a50f6e4d2 style: update ecs config to align associative arrays arrows
update composer dependencies to latest
2023-06-12 15:12:49 +00:00

24 lines
745 B
PHP

<?= $this->extend('_layout') ?>
<?= $this->section('title') ?>
<?= esc($podcast->title) ?>
<?= $this->endSection() ?>
<?= $this->section('pageTitle') ?>
<?= esc($podcast->title) ?>
<?= $this->endSection() ?>
<?= $this->section('headerRight') ?>
<Button uri="<?= route_to('podcast-edit', $podcast->id) ?>" variant="secondary" iconLeft="edit"><?= lang('Podcast.edit') ?></Button>
<Button uri="<?= route_to('episode-create', $podcast->id) ?>" variant="primary" iconLeft="add"><?= lang('Episode.create') ?></Button>
<?= $this->endSection() ?>
<?= $this->section('content') ?>
<?= view_cell('Modules\Admin\Controllers\PodcastController::latestEpisodes', [
'limit' => 5,
'podcastId' => $podcast->id,
]) ?>
<?= $this->endSection() ?>