Move from Station:help to station:logs
This commit is contained in:
parent
1e8b45803a
commit
3fcacabaca
|
@ -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,
|
||||
],
|
||||
]
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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'),
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue