Move from Station:help to station:logs

This commit is contained in:
Mitch 2022-06-30 23:09:38 +01:00
parent 1e8b45803a
commit 3fcacabaca
4 changed files with 9 additions and 9 deletions

View File

@ -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,
],
]

View File

@ -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)

View File

@ -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',

View File

@ -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'),
],