Add ability to change server name, closes #563

This commit is contained in:
Dane Everitt 2018-03-10 14:44:21 -06:00
parent e55d3c1a9a
commit f8e98e9c9e
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
8 changed files with 156 additions and 3 deletions

View file

@ -184,6 +184,9 @@
</span>
</a>
<ul class="treeview-menu">
@can('view-name', $server)
<li class="{{ Route::currentRouteName() !== 'server.settings.name' ?: 'active' }}"><a href="{{ route('server.settings.name', $server->uuidShort) }}"><i class="fa fa-angle-right"></i> @lang('navigation.server.server_name')</a></li>
@endcan
@can('view-allocations', $server)
<li class="{{ Route::currentRouteName() !== 'server.settings.allocation' ?: 'active' }}"><a href="{{ route('server.settings.allocation', $server->uuidShort) }}"><i class="fa fa-angle-right"></i> @lang('navigation.server.port_allocations')</a></li>
@endcan