1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-23 01:22:30 +01:00

More distinct server config if admin

This commit is contained in:
Dane Everitt 2017-10-24 23:42:40 -05:00
parent 058e490ec4
commit 5fb4b2cdcf
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53
2 changed files with 4 additions and 2 deletions

View File

@ -25,6 +25,7 @@ return [
'startup_parameters' => 'Startup Parameters',
'databases' => 'Databases',
'edit_file' => 'Edit File',
'admin' => 'Manage',
'admin_header' => 'ADMINISTRATIVE',
'admin' => 'Server Configuration',
],
];

View File

@ -193,8 +193,9 @@
</li>
@endif
@if(Auth::user()->root_admin)
<li class="header">@lang('navigation.server.admin_header')</li>
<li>
<a href="{{ route('admin.servers.view', $server->id) }}">
<a href="{{ route('admin.servers.view', $server->id) }}" target="_blank">
<i class="fa fa-cog"></i> <span>@lang('navigation.server.admin')</span>
</a>
</li>