Compare commits
No commits in common. "27956146e3448a9b8b5ecf9ae5544fd1207d504f" and "de34052c3b8306f8ae2ae428a1eff08175738148" have entirely different histories.
27956146e3
...
de34052c3b
@ -118,7 +118,7 @@ class DomainController extends Controller
|
|||||||
if (! $o->public && ! Gate::check('admin',$o))
|
if (! $o->public && ! Gate::check('admin',$o))
|
||||||
abort(404);
|
abort(404);
|
||||||
|
|
||||||
$o->load(['zones.system','zones.domain','zones.addresses.nodes_hub','zones.addresses.echomail_from']);
|
$o->load(['zones.system','zones.domain','zones.addresses.nodes_hub']);
|
||||||
|
|
||||||
return view('domain.view')
|
return view('domain.view')
|
||||||
->with('o',$o);
|
->with('o',$o);
|
||||||
|
@ -534,9 +534,7 @@ class Address extends Model
|
|||||||
|
|
||||||
public function echomail_from()
|
public function echomail_from()
|
||||||
{
|
{
|
||||||
return $this->hasMany(Echomail::class,'fftn_id','id')
|
return $this->hasMany(Echomail::class,'fftn_id','id');
|
||||||
->orderBy('datetime','DESC')
|
|
||||||
->limit(10);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -126,7 +126,7 @@
|
|||||||
<th>Sysop</th>
|
<th>Sysop</th>
|
||||||
<th>Location</th>
|
<th>Location</th>
|
||||||
<th>Address</th>
|
<th>Address</th>
|
||||||
<th>Last Echomail</th>
|
<th>Last Seen</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
@ -138,7 +138,7 @@
|
|||||||
<td>{{ $ao->system->sysop }}</td>
|
<td>{{ $ao->system->sysop }}</td>
|
||||||
<td>{{ $ao->system->location }}</td>
|
<td>{{ $ao->system->location }}</td>
|
||||||
<td>{{ $ao->ftn4d }}</td>
|
<td>{{ $ao->ftn4d }}</td>
|
||||||
<td>{{ $ao->echomail_from->count() ? $ao->echomail_from->first()->datetime->format('Y-m-d H:i') : '-' }}</td>
|
<td>{{ $ao->system->last_session ? $ao->system->last_session->format('Y-m-d H:i') : '-' }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
@endforeach
|
@endforeach
|
||||||
@endforeach
|
@endforeach
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
There were errors with the submission.
|
There were errors with the submission.
|
||||||
<ul>
|
<ul>
|
||||||
@foreach($errors->all() as $error)
|
@foreach($errors->all() as $error)
|
||||||
<li>{!! $error !!}</li>
|
<li>{{ $error }}</li>
|
||||||
@endforeach
|
@endforeach
|
||||||
</ul>
|
</ul>
|
||||||
</span>
|
</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user