mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-08-17 07:13:22 +02:00
32 lines
761 B
PHP
32 lines
761 B
PHP
<?= $this->extend('admin/_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' => 'secondary', 'iconLeft' => 'edit'],
|
|
['class' => 'mr-2']
|
|
) ?>
|
|
<?= button(lang('Episode.create'), route_to('episode-create', $podcast->id), [
|
|
'variant' => 'primary',
|
|
'iconLeft' => 'add',
|
|
]) ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
<?= view_cell('\App\Controllers\Admin\Podcast::latestEpisodes', [
|
|
'limit' => 5,
|
|
'podcast_id' => $podcast->id,
|
|
]) ?>
|
|
|
|
<?= $this->endSection() ?>
|