@endsection
@section('content')
@php
// Read the settings set once; every read of the accessor is a query
$networkSettingsSet = $box->networkSettingsSet;
@endphp
@if(auth()->user()->hasPermission( 'access.admin') && $networkSettingsSet)
@php
$updated_by_name = App\User::find($networkSettingsSet->updated_by)?->name ?? "UNKNOWN";
@endphp
{{ __("Last update (including writeback from box): :timestamp. Last manual change by :name. (Only admins can see this)",
['timestamp' => $networkSettingsSet->updated_at,
'name' => $updated_by_name ]) }}
@endif