Handle local postfix delivery
This commit is contained in:
parent
8b3ab541ba
commit
4bbba66a81
3 changed files with 38 additions and 13 deletions
|
|
@ -17,20 +17,26 @@
|
|||
<div class="d-flex w-100 justify-content-between">
|
||||
<h6 class="mb-1">
|
||||
<span class="badge bg-primary me-2">{receivedChain.length - i}</span>
|
||||
{hop.reverse || '-'} <span class="text-muted">({hop.ip})</span> → {hop.by || 'Unknown'}
|
||||
{hop.reverse || '-'}{#if hop.ip} <span class="text-muted">({hop.ip})</span>{/if} → {hop.by || 'Unknown'}
|
||||
</h6>
|
||||
<small class="text-muted" title={hop.timestamp}>{hop.timestamp ? new Intl.DateTimeFormat('default', { dateStyle: 'long', 'timeStyle': 'short' }).format(new Date(hop.timestamp)) : '-'}</small>
|
||||
</div>
|
||||
{#if hop.with || hop.id}
|
||||
<p class="mb-1 small">
|
||||
<p class="mb-1 small d-flex gap-3">
|
||||
{#if hop.with}
|
||||
<span class="text-muted">Protocol:</span> <code>{hop.with}</code>
|
||||
<span>
|
||||
<span class="text-muted">Protocol:</span> <code>{hop.with}</code>
|
||||
</span>
|
||||
{/if}
|
||||
{#if hop.id}
|
||||
<span class="text-muted ms-3">ID:</span> <code>{hop.id}</code>
|
||||
<span>
|
||||
<span class="text-muted">ID:</span> <code>{hop.id}</code>
|
||||
</span>
|
||||
{/if}
|
||||
{#if hop.from}
|
||||
<span class="text-muted ms-3">Helo:</span> <code>{hop.from}</code>
|
||||
<span>
|
||||
<span class="text-muted">Helo:</span> <code>{hop.from}</code>
|
||||
</span>
|
||||
{/if}
|
||||
</p>
|
||||
{/if}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue