2021-09-02 18:34:25 +02:00
|
|
|
<?= $this->extend('_layout') ?>
|
2020-10-19 12:33:23 +02:00
|
|
|
|
|
|
|
<?= $this->section('title') ?>
|
2022-03-04 15:33:48 +01:00
|
|
|
<?= esc($podcast->title) ?>
|
2020-10-19 12:33:23 +02:00
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
|
|
<?= $this->section('pageTitle') ?>
|
2022-03-04 15:33:48 +01:00
|
|
|
<?= esc($podcast->title) ?>
|
2020-10-19 12:33:23 +02:00
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
|
2021-09-07 17:43:09 +02:00
|
|
|
<div class="grid grid-cols-1 gap-4 lg:grid-cols-2">
|
2023-06-08 16:42:32 +02:00
|
|
|
<Charts.XYDuration class="col-span-1" title="<?= lang('Charts.daily_listening_time') ?>" dataUrl="<?= route_to(
|
2023-02-22 17:29:45 +01:00
|
|
|
'analytics-data',
|
|
|
|
$podcast->id,
|
|
|
|
'Podcast',
|
|
|
|
'TotalListeningTimeByDay',
|
|
|
|
) ?>"/>
|
2020-10-19 12:33:23 +02:00
|
|
|
|
2023-06-08 16:42:32 +02:00
|
|
|
<Charts.XYDuration class="col-span-1" title="<?= lang('Charts.monthly_listening_time') ?>" dataUrl="<?= route_to(
|
2023-02-22 17:29:45 +01:00
|
|
|
'analytics-data',
|
|
|
|
$podcast->id,
|
|
|
|
'Podcast',
|
|
|
|
'TotalListeningTimeByMonth',
|
|
|
|
) ?>"/>
|
2020-10-19 12:33:23 +02:00
|
|
|
</div>
|
|
|
|
|
2021-09-08 17:51:33 +02:00
|
|
|
<?= service('vite')
|
|
|
|
->asset('js/charts.ts', 'js') ?>
|
2020-10-19 12:33:23 +02:00
|
|
|
<?= $this->endSection() ?>
|