clrghouz/resources/views/widgets/message.blade.php

50 lines
1.9 KiB
PHP
Raw Normal View History

2021-08-29 01:48:27 +00:00
<div class="row">
<div class="col-4">
TO: <strong class="highlight">{!! \App\Classes\FTN\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">
FROM: <strong class="highlight">{!! \App\Classes\FTN\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">
<div class="col-4">
2021-08-29 01:48:27 +00:00
SUBJECT: <strong class="highlight">{!! \App\Classes\FTN\Message::tr($msg->subject) !!}</strong>
</div>
@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">
<pre class="highlight">{!! \App\Classes\FTN\Message::tr($msg->msg).($msg->origin ? sprintf("\r * Origin: %s",$msg->origin) : '') !!}</pre>
</div>
</div>
</div>
@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>
2021-08-29 01:48:27 +00:00
</div>
@endif
2021-08-29 01:48:27 +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>
2021-08-29 01:48:27 +00:00
</div>
</div>