Explain why there are no echoareas/fileareas for the system
This commit is contained in:
@@ -1,24 +1,28 @@
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<table class="table monotable" id="fileareas">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Subscribed</th>
|
||||
<th>Filearea</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach ($fileareas as $oo)
|
||||
@if($fileareas->count())
|
||||
<table class="table monotable" id="fileareas">
|
||||
<thead>
|
||||
<tr>
|
||||
<td><input type="checkbox" name="id[]" value="{{ $oo->id }}" @if($ao->fileareas->search(function($item) use ($oo) { return $item->id === $oo->id; }) !== FALSE)checked @endif></td>
|
||||
<td>{{ $oo->name }}</td>
|
||||
<td>{{ $oo->description }}</td>
|
||||
<th>Subscribed</th>
|
||||
<th>Filearea</th>
|
||||
<th>Description</th>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
@foreach ($fileareas as $oo)
|
||||
<tr>
|
||||
<td><input type="checkbox" name="id[]" value="{{ $oo->id }}" @if($ao->fileareas->search(function($item) use ($oo) { return $item->id === $oo->id; }) !== FALSE)checked @endif></td>
|
||||
<td>{{ $oo->name }}</td>
|
||||
<td>{{ $oo->description }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
@else
|
||||
<p>No fileareas available for this system. AKA address security doesnt permit any fileareas.</p>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user