2020-07-27 09:35:34 +00:00
|
|
|
<?= $this->extend('admin/_layout') ?>
|
|
|
|
|
|
|
|
<?= $this->section('title') ?>
|
|
|
|
<?= $podcast->title ?>
|
|
|
|
<a class="inline-flex items-center px-2 py-1 mb-2 ml-4 text-sm text-white bg-teal-500 rounded shadow-xs outline-none hover:bg-teal-600 focus:shadow-outline" href="<?= route_to(
|
2020-08-14 18:27:57 +00:00
|
|
|
'podcast-edit',
|
2020-07-27 09:35:34 +00:00
|
|
|
$podcast->id
|
|
|
|
) ?>">
|
|
|
|
<?= icon('edit', 'mr-2') ?>
|
|
|
|
<?= lang('Podcast.edit') ?>
|
|
|
|
</a>
|
|
|
|
<a class="inline-flex items-center px-2 py-1 mb-2 ml-2 text-sm text-white bg-green-500 rounded shadow-xs outline-none hover:bg-green-600 focus:shadow-outline" href="<?= route_to(
|
2020-08-14 18:27:57 +00:00
|
|
|
'episode-create',
|
2020-07-27 09:35:34 +00:00
|
|
|
$podcast->id
|
|
|
|
) ?>">
|
|
|
|
<?= icon('add', 'mr-2') ?>
|
|
|
|
<?= lang('Episode.create') ?></a>
|
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
|
|
<?= $this->section('content') ?>
|
2020-09-08 11:45:17 +00:00
|
|
|
<img
|
|
|
|
class="w-64 mb-4"
|
|
|
|
src="<?= $podcast->image->medium_url ?>"
|
|
|
|
alt="<?= $podcast->title ?>"
|
|
|
|
/>
|
2020-07-27 09:35:34 +00:00
|
|
|
<a class="inline-flex px-2 py-1 mb-2 text-white bg-yellow-700 hover:bg-yellow-800" href="<?= route_to(
|
2020-08-14 18:27:57 +00:00
|
|
|
'contributor-list',
|
2020-07-27 09:35:34 +00:00
|
|
|
$podcast->id
|
|
|
|
) ?>"><?= lang('Podcast.see_contributors') ?></a>
|
2020-08-27 10:05:44 +00:00
|
|
|
<a class="inline-flex px-2 py-1 mb-2 text-white bg-indigo-700 hover:bg-indigo-800" href="<?= route_to(
|
|
|
|
'platforms',
|
|
|
|
$podcast->id
|
|
|
|
) ?>"><?= lang('Platforms.title') ?></a>
|
2020-07-27 09:35:34 +00:00
|
|
|
<a class="inline-flex px-2 py-1 text-white bg-gray-700 hover:bg-gray-800" href="<?= route_to(
|
|
|
|
'podcast',
|
|
|
|
$podcast->name
|
2020-08-04 11:25:22 +00:00
|
|
|
) ?>"><?= lang('Podcast.go_to_page') ?></a>
|
2020-07-27 09:35:34 +00:00
|
|
|
<a class="inline-flex px-2 py-1 text-white bg-red-700 hover:bg-red-800" href="<?= route_to(
|
2020-08-14 18:27:57 +00:00
|
|
|
'podcast-delete',
|
2020-07-27 09:35:34 +00:00
|
|
|
$podcast->id
|
|
|
|
) ?>"><?= lang('Podcast.delete') ?></a>
|
|
|
|
|
|
|
|
<?= view('admin/_partials/_episode-list.php', [
|
|
|
|
'episodes' => $podcast->episodes,
|
|
|
|
]) ?>
|
|
|
|
<?= $this->endSection() ?>
|