mirror of
https://github.com/AzuraCast/AzuraCast.git
synced 2024-06-13 12:46:41 +00:00
23 lines
539 B
PHTML
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>
|