2021-09-02 16:34:25 +00:00
|
|
|
<?= $this->extend('_layout') ?>
|
2020-07-10 12:20:25 +00:00
|
|
|
|
2020-07-16 10:08:23 +00:00
|
|
|
<?= $this->section('title') ?>
|
2020-10-02 15:38:16 +00:00
|
|
|
<?= lang('Podcast.all_podcasts') ?>
|
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
|
|
<?= $this->section('pageTitle') ?>
|
2020-08-04 11:25:22 +00:00
|
|
|
<?= lang('Podcast.all_podcasts') ?> (<?= count($podcasts) ?>)
|
2020-10-02 15:38:16 +00:00
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
|
|
<?= $this->section('headerRight') ?>
|
2021-09-21 15:51:04 +00:00
|
|
|
<Button uri="<?= route_to('podcast-import') ?>" variant="secondary" iconLeft="download"><?= lang('Podcast.import') ?></Button>
|
|
|
|
<Button uri="<?= route_to('podcast-create') ?>" variant="primary" iconLeft="add"><?= lang('Podcast.create') ?></Button>
|
2020-07-16 10:08:23 +00:00
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
|
|
|
2020-07-10 12:20:25 +00:00
|
|
|
<?= $this->section('content') ?>
|
|
|
|
|
2021-10-21 13:12:38 +00:00
|
|
|
<div class="grid gap-4 grid-cols-cards">
|
2021-05-18 17:16:36 +00:00
|
|
|
<?php if ($podcasts !== null): ?>
|
2020-08-04 11:25:22 +00:00
|
|
|
<?php foreach ($podcasts as $podcast): ?>
|
2021-10-21 13:12:38 +00:00
|
|
|
<?= view('podcast/_card', [
|
|
|
|
'podcast' => $podcast,
|
|
|
|
]) ?>
|
2020-07-10 12:20:25 +00:00
|
|
|
<?php endforeach; ?>
|
|
|
|
<?php else: ?>
|
2020-07-16 10:08:23 +00:00
|
|
|
<p class="italic"><?= lang('Podcast.no_podcast') ?></p>
|
2020-07-10 12:20:25 +00:00
|
|
|
<?php endif; ?>
|
|
|
|
</div>
|
|
|
|
|
2020-10-22 17:41:59 +00:00
|
|
|
<?= $this->endSection() ?>
|