mirror of
https://code.castopod.org/adaures/castopod
synced 2025-05-10 16:25:47 +00:00

- move and refactor Image.php from Libraries to Entities folder - update some database field names / types - update composer packages
36 lines
890 B
PHP
36 lines
890 B
PHP
<?= $this->extend('admin/_layout') ?>
|
|
|
|
<?= $this->section('title') ?>
|
|
<?= $podcast->title ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
<?= $this->section('pageTitle') ?>
|
|
<?= $podcast->title ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
<?= $this->section('headerLeft') ?>
|
|
<?= location_link($podcast->location, 'ml-4 text-sm') ?>
|
|
<?= $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('\App\Controllers\Admin\PodcastController::latestEpisodes', [
|
|
'limit' => 5,
|
|
'podcast_id' => $podcast->id,
|
|
]) ?>
|
|
|
|
<?= $this->endSection() ?>
|