2020-07-27 09:35:34 +00:00
|
|
|
<?= $this->extend('admin/_layout') ?>
|
|
|
|
|
|
|
|
<?= $this->section('title') ?>
|
|
|
|
<?= $podcast->title ?>
|
2020-10-02 15:38:16 +00:00
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
|
|
<?= $this->section('pageTitle') ?>
|
|
|
|
<?= $podcast->title ?>
|
2020-12-23 14:11:38 +00:00
|
|
|
<?= location_link(
|
|
|
|
$podcast->location_name,
|
|
|
|
$podcast->location_geo,
|
|
|
|
$podcast->location_osmid,
|
|
|
|
'ml-4'
|
|
|
|
) ?>
|
2020-10-02 15:38:16 +00:00
|
|
|
<?= $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',
|
|
|
|
]) ?>
|
2020-07-27 09:35:34 +00:00
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
|
2020-10-02 15:38:16 +00:00
|
|
|
<?= view_cell('\App\Controllers\Admin\Podcast::latestEpisodes', [
|
|
|
|
'limit' => 5,
|
2020-10-05 08:44:51 +00:00
|
|
|
'podcast_id' => $podcast->id,
|
2020-10-02 15:38:16 +00:00
|
|
|
]) ?>
|
|
|
|
|
2020-07-27 09:35:34 +00:00
|
|
|
<?= $this->endSection() ?>
|