Minor bug fixes for migration rollback, domain/list and system last_seen
This commit is contained in:
@@ -31,8 +31,8 @@
|
||||
<td class="text-end">{{ $do->active ? 'YES' : 'NO' }}</td>
|
||||
<td class="text-end">{{ $do->managed() ? 'YES' : 'NO' }}</td>
|
||||
<td>
|
||||
@foreach (($x=$do->zones->pluck('addresses')->flatten())->where('role',\App\Models\Address::NODE_ZC) as $ao)
|
||||
{{ $ao->system->sysop }}, <a href="{{ url('system/view',$ao->system_id) }}">{{ $ao->system->name }}</a>
|
||||
@foreach (($x=$do->zones->pluck('addresses')->flatten())->where('role',\App\Models\Address::NODE_ZC)->sortBy('zone.zone_id') as $ao)
|
||||
{{ $ao->system->sysop }}, <a href="{{ url('system/view',$ao->system_id) }}">{{ $ao->system->name }}</a><br>
|
||||
@endforeach
|
||||
</td>
|
||||
<td class="text-end">{{ $x->pluck('system')->unique('name')->count() }}</td>
|
||||
|
@@ -31,16 +31,16 @@
|
||||
<th>Mailer</th>
|
||||
<td>{{ $o->access_mailer }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Last Seen</th>
|
||||
<td>{{ $o->logs->last()->created_at }}</td>
|
||||
</tr>
|
||||
@if($o->phone)
|
||||
<tr>
|
||||
<th>Phone</th>
|
||||
<td>{{ $o->phone }}</td>
|
||||
</tr>
|
||||
@endif
|
||||
<tr>
|
||||
<th>Last Seen</th>
|
||||
<td>{{ $o->logs->count() ? $o->logs->last()->created_at : '-' }}</td>
|
||||
</tr>
|
||||
@if($o->addresses->count())
|
||||
<tr>
|
||||
<th>FTN Addresses</th>
|
||||
|
Reference in New Issue
Block a user