4
0
mirror of https://github.com/AzuraCast/AzuraCast.git synced 2024-06-14 13:16:37 +00:00

Expand Profile menu sidebar link to surface new "Branding" page more clearly.

This commit is contained in:
Buster Neece 2023-01-25 20:01:34 -06:00
parent fdb01fadca
commit e19072294c
No known key found for this signature in database
GPG Key ID: F1D2E64A0005E80E

View File

@ -53,8 +53,24 @@ return static function (App\Event\BuildStationMenu $e) {
'profile' => [ 'profile' => [
'label' => __('Profile'), 'label' => __('Profile'),
'icon' => 'image', 'icon' => 'image',
'items' => [
[
'label' => __('View Profile'),
'url' => $router->fromHere('stations:profile:index'), 'url' => $router->fromHere('stations:profile:index'),
], ],
[
'label' => __('Edit Profile'),
'url' => $router->fromHere('stations:profile:edit'),
'permission' => StationPermissions::Profile,
],
[
'label' => __('Branding'),
'class' => 'text-muted',
'url' => $router->fromhere('stations:branding'),
'permission' => StationPermissions::Profile,
],
],
],
'public' => [ 'public' => [
'label' => __('Public Page'), 'label' => __('Public Page'),
'icon' => 'public', 'icon' => 'public',