2021-09-02 16:34:25 +00:00
|
|
|
<?= $this->extend('_layout') ?>
|
2020-07-10 12:20:25 +00:00
|
|
|
|
2020-10-02 15:38:16 +00:00
|
|
|
<?= $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') ?>
|
2024-04-26 17:57:25 +00:00
|
|
|
<?php
|
2024-12-17 15:06:08 +00:00
|
|
|
// @icon("import-fill")
|
|
|
|
// @icon("add-fill")
|
2024-04-26 17:57:25 +00:00
|
|
|
?>
|
2024-05-09 17:55:41 +00:00
|
|
|
<x-Button uri="<?= route_to('podcast-imports-add') ?>" variant="secondary" iconLeft="import-fill"><?= lang('Podcast.import') ?></x-Button>
|
|
|
|
<x-Button uri="<?= route_to('podcast-create') ?>" variant="primary" iconLeft="add-fill"><?= lang('Podcast.create') ?></x-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">
|
2022-10-15 11:22:08 +00:00
|
|
|
<?php if ($podcasts !== []): ?>
|
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() ?>
|