Make a hotlink to users systems on the dashboard

This commit is contained in:
Deon George 2023-04-15 14:18:30 +10:00
parent 23e8522e1a
commit 8095a8299c
2 changed files with 2 additions and 6 deletions

View File

@ -23,7 +23,7 @@
<tbody>
@foreach ($user->systems as $o)
<tr>
<th>{{ $o->name }}</th>
<th><a href="{{ url('ftn/system/addedit',[$o->id]) }}">{{ $o->name }}</a></th>
<th class="text-end">{!! $o->addresses->pluck('ftn')->join('<br>') !!}</th>
</tr>
@endforeach
@ -41,7 +41,7 @@
<tbody>
@foreach ($user->systems as $o)
<tr>
<th>{{ $o->name }}</th>
<th><a href="{{ url('ftn/system/addedit',[$o->id]) }}">{{ $o->name }}</a></th>
<th class="text-end">{!! $o->addresses->pluck('zone.domain.echoareas')->flatten()->pluck('name')->unique()->sort()->join(', ') !!}</th>
</tr>
@endforeach

View File

@ -1,4 +0,0 @@
@extends('layouts.app')
@section('content')
@endsection