@extends('layouts.librenmsv1') @section('content') @if($data['selection'] == 'list') @foreach($data['links'] as $link) @endforeach
Local Port Remote Device Remote Port Protocol
@if($link->port)
{{$link->port->ifAlias}} @endif
@if($link->remoteDevice)
{{$link->remoteDevice->hardware}} @else {{$link->remote_hostname}}
{{$link->remote_platform}} @endif
@if($link->remotePort)
{{$link->remotePort->ifAlias}} @else {{$link->remote_port}} @endif
{{ strtoupper($link->protocol) }}
@elseif($data['selection'] == 'map')
@push('scripts') @endpush @endif
@endsection @section('javascript') @if($data['selection'] == 'map') @endif @endsection