mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 16:44:44 +02:00
add link on server navigation to get to the admin page of the current server
This commit is contained in:
parent
2f9e7bdc3b
commit
a411e216b0
@ -25,5 +25,6 @@ return [
|
|||||||
'startup_parameters' => 'Startup Parameters',
|
'startup_parameters' => 'Startup Parameters',
|
||||||
'databases' => 'Databases',
|
'databases' => 'Databases',
|
||||||
'edit_file' => 'Edit File',
|
'edit_file' => 'Edit File',
|
||||||
|
'admin' => 'Manage',
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
@ -184,6 +184,13 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
@endif
|
@endif
|
||||||
|
@if(Auth::user()->root_admin)
|
||||||
|
<li>
|
||||||
|
<a href="{{ route('admin.servers.view', $server->id) }}">
|
||||||
|
<i class="fa fa-cog"></i> <span>@lang('navigation.server.admin')</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
@endif
|
||||||
@endif
|
@endif
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user