2020-10-19 12:33:23 +02:00
|
|
|
<?= $this->extend('admin/_layout') ?>
|
|
|
|
|
|
|
|
<?= $this->section('title') ?>
|
|
|
|
<?= $podcast->title ?>
|
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
|
|
<?= $this->section('pageTitle') ?>
|
|
|
|
<?= $podcast->title ?>
|
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
|
|
|
|
<div class="mb-12 text-center">
|
|
|
|
<h2><?= lang('Charts.daily_listening_time') ?></h2>
|
|
|
|
<div class="chart-xy" id="by-day-listening-time-graph" data-chart-type="xy-duration-chart" data-chart-url="<?= route_to(
|
|
|
|
'analytics-data',
|
|
|
|
$podcast->id,
|
2020-10-29 16:45:19 +01:00
|
|
|
'Podcast',
|
2020-10-19 12:33:23 +02:00
|
|
|
'TotalListeningTimeByDay'
|
|
|
|
) ?>"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="mb-12 text-center">
|
|
|
|
<h2><?= lang('Charts.monthly_listening_time') ?></h2>
|
|
|
|
<div class="chart-xy" id="by-month-listening-time-graph" data-chart-type="xy-duration-chart" data-chart-url="<?= route_to(
|
|
|
|
'analytics-data',
|
|
|
|
$podcast->id,
|
2020-10-29 16:45:19 +01:00
|
|
|
'Podcast',
|
2020-10-19 12:33:23 +02:00
|
|
|
'TotalListeningTimeByMonth'
|
|
|
|
) ?>"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script src="/assets/charts.js" type="module"></script>
|
|
|
|
<?= $this->endSection() ?>
|