add link on server navigation to get to the admin page of the current server

This commit is contained in:
Jakob Schrettenbrunner 2017-10-20 10:41:37 +02:00
parent 2f9e7bdc3b
commit a411e216b0
2 changed files with 8 additions and 0 deletions

View file

@ -25,5 +25,6 @@ return [
'startup_parameters' => 'Startup Parameters',
'databases' => 'Databases',
'edit_file' => 'Edit File',
'admin' => 'Manage',
],
];

View file

@ -184,6 +184,13 @@
</ul>
</li>
@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
</ul>
</section>