diff --git a/config/menus/station.php b/config/menus/station.php index bbbfe3aa0..4059baa77 100644 --- a/config/menus/station.php +++ b/config/menus/station.php @@ -264,10 +264,10 @@ return function (App\Event\BuildStationMenu $e) { ], ], - 'help' => [ - 'label' => __('Help'), + 'logs' => [ + 'label' => __('Logs'), 'icon' => 'support', - 'url' => (string)$router->fromHere('stations:help'), + 'url' => (string)$router->fromHere('stations:logs'), 'permission' => StationPermissions::Logs, ], ] diff --git a/config/routes/stations.php b/config/routes/stations.php index f149ab29a..1a8bc03f0 100644 --- a/config/routes/stations.php +++ b/config/routes/stations.php @@ -48,8 +48,8 @@ return static function (RouteCollectorProxy $app) { ->setName('stations:stereo_tool_config') ->add(new Middleware\Permissions(StationPermissions::Broadcasting, true)); - $group->get('/help', Controller\Stations\HelpAction::class) - ->setName('stations:help') + $group->get('/logs', Controller\Stations\logs::class) + ->setName('stations:logs') ->add(new Middleware\Permissions(StationPermissions::Logs, true)); $group->get('/playlists', Controller\Stations\PlaylistsAction::class) diff --git a/frontend/webpack.config.js b/frontend/webpack.config.js index 767d93e7c..1c94230f8 100644 --- a/frontend/webpack.config.js +++ b/frontend/webpack.config.js @@ -36,7 +36,7 @@ module.exports = { SetupStation: '~/pages/Setup/Station.js', StationsBulkMedia: '~/pages/Stations/BulkMedia.js', StationsFallback: '~/pages/Stations/Fallback.js', - StationsHelp: '~/pages/Stations/Help.js', + StationsLogs: '~/pages/Stations/Logs.js', StationsHlsStreams: '~/pages/Stations/HlsStreams.js', StationsLiquidsoapConfig: '~/pages/Stations/LiquidsoapConfig.js', StationsMedia: '~/pages/Stations/Media.js', diff --git a/src/Controller/Stations/HelpAction.php b/src/Controller/Stations/HelpAction.php index 43c38b1bd..dd7b04005 100644 --- a/src/Controller/Stations/HelpAction.php +++ b/src/Controller/Stations/HelpAction.php @@ -19,9 +19,9 @@ final class HelpAction return $request->getView()->renderVuePage( response: $response, - component: 'Vue_StationsHelp', - id: 'stations-help', - title: __('Help'), + component: 'Vue_StationsLogs', + id: 'stations-logs', + title: __('Logs'), props: [ 'logsUrl' => (string)$router->fromHere('api:stations:logs'), ],