2020-07-27 09:35:34 +00:00
|
|
|
<?= $this->extend('admin/_layout') ?>
|
|
|
|
|
2020-08-05 16:10:39 +00:00
|
|
|
<?= $this->section('title') ?>
|
|
|
|
<?= $episode->title ?>
|
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
2020-07-27 09:35:34 +00:00
|
|
|
<?= $this->section('content') ?>
|
|
|
|
|
2020-09-08 11:45:17 +00:00
|
|
|
<img
|
|
|
|
src="<?= $episode->image->medium_url ?>"
|
|
|
|
alt="Episode cover"
|
|
|
|
class="object-cover w-40 h-40 mb-6"
|
|
|
|
/>
|
2020-07-27 09:35:34 +00:00
|
|
|
<audio controls preload="none" class="mb-12">
|
|
|
|
<source src="<?= $episode->enclosure_url ?>" type="<?= $episode->enclosure_type ?>">
|
|
|
|
Your browser does not support the audio tag.
|
|
|
|
</audio>
|
|
|
|
|
|
|
|
<a class="inline-flex px-4 py-2 text-white bg-teal-700 hover:bg-teal-800" href="<?= route_to(
|
2020-08-14 18:27:57 +00:00
|
|
|
'episode-edit',
|
2020-07-27 09:35:34 +00:00
|
|
|
$episode->podcast->id,
|
|
|
|
$episode->id
|
|
|
|
) ?>"><?= lang('Episode.edit') ?></a>
|
|
|
|
<a href="<?= route_to(
|
|
|
|
'episode',
|
2020-08-04 11:25:22 +00:00
|
|
|
$episode->podcast->name,
|
2020-07-27 09:35:34 +00:00
|
|
|
$episode->slug
|
|
|
|
) ?>" class="inline-flex px-4 py-2 text-white bg-gray-700 hover:bg-gray-800"><?= lang(
|
2020-08-04 11:25:22 +00:00
|
|
|
'Episode.go_to_page'
|
2020-07-27 09:35:34 +00:00
|
|
|
) ?></a>
|
|
|
|
<a href="<?= route_to(
|
2020-08-14 18:27:57 +00:00
|
|
|
'episode-delete',
|
2020-07-27 09:35:34 +00:00
|
|
|
$episode->podcast->id,
|
|
|
|
$episode->id
|
|
|
|
) ?>" class="inline-flex px-4 py-2 text-white bg-red-700 hover:bg-red-800"><?= lang(
|
|
|
|
'Episode.delete'
|
|
|
|
) ?></a>
|
|
|
|
|
|
|
|
<section class="prose">
|
|
|
|
<?= $episode->description_html ?>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<?= $this->endSection() ?>
|