mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-08-31 16:07:19 +02:00
37 lines
803 B
PHP
37 lines
803 B
PHP
<?= $this->extend('_layout') ?>
|
|
|
|
<?= $this->section('title') ?>
|
|
<?= $podcast->title ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
<?= $this->section('pageTitle') ?>
|
|
<?= $podcast->title ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
<?= $this->section('headerRight') ?>
|
|
<?= button(
|
|
lang('Podcast.edit'),
|
|
route_to('podcast-edit', $podcast->id),
|
|
[
|
|
'variant' => 'primary',
|
|
'iconLeft' => 'edit',
|
|
],
|
|
[
|
|
'class' => 'mr-2',
|
|
],
|
|
) ?>
|
|
<?= button(lang('Episode.create'), route_to('episode-create', $podcast->id), [
|
|
'variant' => 'accent',
|
|
'iconLeft' => 'add',
|
|
]) ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
<?= view_cell('Modules\Admin\Controllers\PodcastController::latestEpisodes', [
|
|
'limit' => 5,
|
|
'podcastId' => $podcast->id,
|
|
]) ?>
|
|
|
|
<?= $this->endSection() ?>
|