mirror of
https://code.castopod.org/adaures/castopod
synced 2025-05-11 08:45:45 +00:00

- add podcast sidebar navigation - add podcast dashboard with latest episodes - add pagination to podcast episodes - add components helper to reuse ui components (button, data_table, etc.) - enhance podcast and episode forms by splitting them into form sections - add hint tooltips to podcast and episode forms - transform radio inputs as buttons for better ux - replace explicit field by parental_advisory - replace author field by publisher - add podcasts_categories table to set multiple categories - use choices.js to enhance multiselect fields - update Language files - update js dependencies to latest versions closes #31, #9
31 lines
727 B
PHP
31 lines
727 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,
|
|
]) ?>
|
|
|
|
<?= $this->endSection() ?>
|