4
0
mirror of https://github.com/AzuraCast/AzuraCast.git synced 2024-06-13 12:46:41 +00:00
AzuraCast/templates/frontend/public/embedrequests.phtml
2021-03-17 02:20:12 -05:00

23 lines
539 B
PHTML

<?php
/** @var App\Entity\Station $station */
$this->layout(
'minimal',
[
'page_class' => 'embed station-' . $station->getShortName(),
'title' => $this->e($station->getName()),
'hide_footer' => true,
]
);
$props = [
'customFields' => $customFields,
'requestListUri' => (string)$router->named('api:requests:list', ['station_id' => $station->getId()]),
];
/** @var \App\Assets $assets */
$assets->addVueRender('Vue_PublicRequests', '#song-requests', $props);
?>
<div id="song-requests"></div>