Remove some debugging left from previous commits, fix Address::scopeTrashed(), change display of BBS list

This commit is contained in:
2023-07-07 22:42:02 +10:00
parent 6c75659395
commit 30c11956dd
3 changed files with 6 additions and 42 deletions

View File

@@ -11,20 +11,19 @@
<p>Here is a list of systems that can be connected to.</p>
</div>
<div class="col-10 pt-2">
<div class="col-12 pt-2">
<table class="table monotable">
<thead>
<tr>
<th>System</th>
<th class="w-25">System</th>
<th class="w-50">Connection Details</th>
<th>FTN Networks</th>
<th>Connection Details</th>
</tr>
</thead>
<tbody>
@foreach (\App\Models\System::active()->whereNotNull('method')->orderBy('name')->with(['addresses.zone.domain'])->get() as $o)
<tr>
<td>{{ $o->name }}</td>
<td>{{ $o->addresses->pluck('zone.domain.name')->unique()->sort()->join(',') }}</td>
<td>
@switch($o->method)
@case(23)<a href="telnet://{{ $o->address }}:{{ $o->port }}">Telnet</a> [telnet://{{ $o->address }}:{{ $o->port }}]@break
@@ -33,6 +32,7 @@
@default No details
@endswitch
</td>
<td>{{ $o->addresses->pluck('zone.domain.name')->unique()->sort()->join(', ') }}</td>
</tr>
@endforeach
</tbody>