mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-22 16:51:20 +00:00
24 lines
846 B
PHP
24 lines
846 B
PHP
<?= $this->extend('_layout') ?>
|
|
|
|
<?= $this->section('pageTitle') ?>
|
|
<?= esc($podcast->title) ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
<?= $this->section('headerRight') ?>
|
|
<?php
|
|
// @icon("pencil-fill")
|
|
// @icon("add-fill")
|
|
?>
|
|
<x-Button uri="<?= route_to('podcast-edit', $podcast->id) ?>" variant="secondary" class="[&>span]:hidden [&>span]:md:block py-3 md:py-2" iconLeft="pencil-fill"><?= lang('Podcast.edit') ?></x-Button>
|
|
<x-Button uri="<?= route_to('episode-create', $podcast->id) ?>" variant="primary" class="[&>span]:hidden [&>span]:md:block py-3 md:py-2" iconLeft="add-fill"><?= lang('Episode.create') ?></x-Button>
|
|
<?= $this->endSection() ?>
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
<?= view_cell('Modules\Admin\Controllers\PodcastController::latestEpisodesView', [
|
|
'limit' => 5,
|
|
'podcastId' => $podcast->id,
|
|
]) ?>
|
|
|
|
<?= $this->endSection() ?>
|