Made it display 'maintenance' on the index page

This commit is contained in:
stanjg 2018-05-04 15:16:14 +02:00
parent baea1d6191
commit f39720f15d
No known key found for this signature in database
GPG key ID: 27D9DF9D28935303

View file

@ -64,9 +64,15 @@
<span class="label bg-blue">@lang('strings.subuser')</span>
@endif
</td>
<td class="text-center" data-action="status">
<span class="label label-default"><i class="fa fa-refresh fa-fw fa-spin"></i></span>
</td>
@if($server->node->maintenance)
<td class="text-center">
<span class="label label-warning">Maintenance</span>
</td>
@else
<td class="text-center" data-action="status">
<span class="label label-default"><i class="fa fa-refresh fa-fw fa-spin"></i></span>
</td>
@endif
</tr>
@if (! empty($server->description))
<tr class="server-description">