Add first message date to domain echoarea list
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
<!-- $o = Domain::class -->
|
||||
<!-- $o=Domain::class -->
|
||||
@use(Illuminate\Mail\Markdown)
|
||||
|
||||
@extends('layouts.app')
|
||||
@section('htmlheader_title')
|
||||
{{ $o->name }}
|
||||
@@ -19,7 +21,7 @@
|
||||
<div id="collapse_about" class="accordion-collapse collapse show" aria-labelledby="about" data-bs-parent="#accordion_homepage">
|
||||
<div class="accordion-body">
|
||||
<div class="float-end" style="max-height: 25em;" id="network_traffic"></div>
|
||||
{!! \Illuminate\Mail\Markdown::parse($o->homepage) !!}
|
||||
{!! Markdown::parse($o->homepage) !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -43,6 +45,7 @@
|
||||
<tr>
|
||||
<th>Echoarea</th>
|
||||
<th>Description</th>
|
||||
<th>First Message</th>
|
||||
<th>Last Message</th>
|
||||
<th>Area Active</th>
|
||||
<th class="text-end">Day</th>
|
||||
@@ -57,6 +60,7 @@
|
||||
<tr>
|
||||
<td style="width: 15%;"><a href="{{ url('echoarea/addedit',[($x=$oo->first())->id]) }}">{{ $x->name }}</a></td>
|
||||
<td>{{ $x->description }}</td>
|
||||
<td style="width: 15%;">{{ ($xx=$oo->min('first_message')) ? $xx->format('Y-m-d H:i') : '-' }}</td>
|
||||
<td style="width: 15%;">{{ $x->last_message ? $x->last_message->format('Y-m-d H:i') : '-' }}</td>
|
||||
<td>{{ $x->active ? 'Active' : 'Archive' }}</td>
|
||||
<td class="text-end">{{ number_format($oo->where('stats','day')->pop()?->count) }}</td>
|
||||
@@ -218,17 +222,17 @@
|
||||
pageLength: 25,
|
||||
searching: true,
|
||||
ordering: true,
|
||||
order: [[3,'asc'],[1,'asc']],
|
||||
order: [[4,'asc'],[1,'asc']],
|
||||
conditionalPaging: {
|
||||
style: 'fade',
|
||||
speed: 500 // optional
|
||||
},
|
||||
rowGroup: {
|
||||
dataSrc: [3],
|
||||
dataSrc: [4],
|
||||
},
|
||||
columnDefs: [
|
||||
{
|
||||
targets: [3],
|
||||
targets: [4],
|
||||
visible: false,
|
||||
},
|
||||
],
|
||||
|
Reference in New Issue
Block a user