2023-07-15 12:10:05 +00:00
|
|
|
@php
|
|
|
|
use App\Classes\FTN\Message;
|
|
|
|
@endphp
|
|
|
|
|
2021-08-29 01:48:27 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-4">
|
2023-07-15 12:10:05 +00:00
|
|
|
TO: <strong class="highlight">{!! Message::tr($msg->to) !!}</strong> @if ($msg instanceof \App\Models\Netmail)(<strong class="highlight">{{ $msg->tftn->ftn }}</strong>)@endif
|
2021-08-29 01:48:27 +00:00
|
|
|
</div>
|
|
|
|
<div class="col-4">
|
2022-01-01 05:59:35 +00:00
|
|
|
DATE: <strong class="highlight">{{ $msg->datetime->format('Y-m-d H:i:s') }}</strong>
|
2021-08-29 01:48:27 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2022-01-01 05:59:35 +00:00
|
|
|
<div class="row pt-1">
|
2021-08-29 01:48:27 +00:00
|
|
|
<div class="col-4">
|
2023-07-15 12:10:05 +00:00
|
|
|
FROM: <strong class="highlight">{!! Message::tr($msg->from) !!}</strong> (<strong class="highlight">{{ $msg->fftn->ftn }}</strong>)
|
2021-08-29 01:48:27 +00:00
|
|
|
</div>
|
|
|
|
<div class="col-4">
|
2022-01-01 05:59:35 +00:00
|
|
|
MSGID: <strong class="highlight">{{ $msg->msgid }}</strong>@if($x=\App\Models\Echomail::where('replyid',$msg->msgid)->count()) (<strong class="highlight">{{$x}}</strong> replies)@endif @if($msg->replyid)<br>REPLY: <strong class="highlight">{{ $msg->replyid }}</strong>@endif
|
2021-08-29 01:48:27 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2022-01-01 05:59:35 +00:00
|
|
|
<div class="row pt-1 pb-2">
|
2022-02-11 23:21:46 +00:00
|
|
|
<div class="col-4">
|
2023-07-15 12:10:05 +00:00
|
|
|
SUBJECT: <strong class="highlight">{!! Message::tr($msg->subject) !!}</strong>
|
2021-08-29 01:48:27 +00:00
|
|
|
</div>
|
2022-02-11 23:21:46 +00:00
|
|
|
@if ($msg instanceof \App\Models\Echomail)
|
|
|
|
<div class="col-4">
|
|
|
|
ECHOAREA: <strong class="highlight">{{ $msg->echoarea->name }}</strong> (<strong class="highlight">{{ $msg->echoarea->domain->name }}</strong>)
|
|
|
|
</div>
|
|
|
|
@endif
|
2021-08-29 01:48:27 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row pb-2">
|
|
|
|
<div class="col-8">
|
|
|
|
<div class="pad pb-0">
|
2023-07-15 12:10:05 +00:00
|
|
|
<pre class="highlight">{!! Message::tr($msg->msg).($msg->origin ? sprintf("\r * Origin: %s",$msg->origin) : '') !!}</pre>
|
2021-08-29 01:48:27 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2023-06-18 13:33:26 +00:00
|
|
|
@if ($msg instanceof \App\Models\Echomail)
|
|
|
|
<div class="row pb-2">
|
|
|
|
<div class="col-8">
|
|
|
|
SEENBY: <br><strong class="highlight">{!! optimize_path($msg->seenby->pluck('ftn2d'))->join('</strong>, <strong class="highlight">') !!}</strong>
|
|
|
|
</div>
|
2023-11-22 02:14:21 +00:00
|
|
|
|
|
|
|
@if ($msg->rogue_seenby->count())
|
|
|
|
<br><small>[<strong>NOTE</strong>: Some seen-by values couldnt be identified - ({{ $msg->rogue_seenby->join(',') }})]</small>
|
|
|
|
@endif
|
2021-08-29 01:48:27 +00:00
|
|
|
</div>
|
2023-06-18 13:33:26 +00:00
|
|
|
@endif
|
2021-08-29 01:48:27 +00:00
|
|
|
|
2023-07-15 12:10:05 +00:00
|
|
|
@if ($msg->flags & Message::FLAG_LOCAL)
|
2023-07-15 00:46:19 +00:00
|
|
|
<div class="row pb-2">
|
|
|
|
<div class="col-8">
|
|
|
|
<strong class="highlight">Local message</strong>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2023-07-15 12:10:05 +00:00
|
|
|
@elseif ((! $msg->flags) || ($msg->flags & (Message::FLAG_INTRANSIT|Message::FLAG_RECD)))
|
|
|
|
<!-- @todo for the nodes we export to, highlight those that we have actually sent it, vs those that havent received it yet -->
|
2023-07-15 00:46:19 +00:00
|
|
|
<div class="row pb-2">
|
|
|
|
<div class="col-8">
|
|
|
|
PATH: <br><strong class="highlight">{!! optimize_path($msg->pathorder())->join('</strong> -> <strong class="highlight">') !!}</strong>
|
2023-11-22 02:14:21 +00:00
|
|
|
|
|
|
|
@if ($msg->rogue_path->count())
|
|
|
|
<br><small>[<strong>NOTE</strong>: Some path values couldnt be identified - ({{ $msg->rogue_path->join(',') }})]</small>
|
|
|
|
@endif
|
2023-07-15 00:46:19 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2023-07-15 12:10:05 +00:00
|
|
|
@if ($msg->flags)
|
|
|
|
<div class="row pb-2">
|
|
|
|
<div class="col-8">
|
|
|
|
RECEIVED:
|
|
|
|
@foreach ($msg->received as $path)
|
|
|
|
<strong class="highlight">{{ $path->pivot->recv_pkt }}</strong> by <strong class="highlight">{{ $path->ftn }}</strong> {{ $msg->created_at }}
|
|
|
|
@endforeach
|
|
|
|
</div>
|
2023-07-15 00:46:19 +00:00
|
|
|
</div>
|
2023-07-15 12:10:05 +00:00
|
|
|
@endif
|
2023-07-15 00:46:19 +00:00
|
|
|
@endif
|