Enable link to network list from FTN list

This commit is contained in:
Deon George 2023-09-08 21:31:29 +10:00
parent 67c1be209d
commit 234be677f9

View File

@ -26,7 +26,13 @@
<tbody>
@foreach (\App\Models\Domain::public()->orderBy('name')->with(['zones.addresses.system'])->get() as $do)
<tr>
<td>{{ $do->name }}</td>
<td>
@if($do->active)
<a href="{{ url('network',$do->id) }}">{{ $do->name }}</a>
@else
{{ $do->name }}
@endif
</td>
<td>{{ $do->zones->pluck('zone_id')->sort()->join(', ') }}</td>
<td class="text-end">{{ $do->active ? 'YES' : 'NO' }}</td>
<td class="text-end">{{ $do->managed() ? 'YES' : 'NO' }}</td>