1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-01-04 00:15:54 +02:00

Template formatting

This commit is contained in:
Ralph Slooten 2024-06-21 16:09:48 +12:00
parent 7a55e4d0e2
commit 8de2c5ec81

View File

@ -133,16 +133,14 @@ export default {
{{ getRelativeCreated(message) }} {{ getRelativeCreated(message) }}
</div> </div>
<div class="text-truncate d-lg-none privacy"> <div class="text-truncate d-lg-none privacy">
<span v-if="message.From" :title="'From: ' + message.From.Address">{{ <span v-if="message.From" :title="'From: ' + message.From.Address">
message.From.Name ? {{ message.From.Name ? message.From.Name : message.From.Address }}
message.From.Name : message.From.Address </span>
}}</span>
</div> </div>
<div class="text-truncate d-none d-lg-block privacy"> <div class="text-truncate d-none d-lg-block privacy">
<b v-if="message.From" :title="'From: ' + message.From.Address">{{ <b v-if="message.From" :title="'From: ' + message.From.Address">
message.From.Name ? {{ message.From.Name ? message.From.Name : message.From.Address }}
message.From.Name : message.From.Address </b>
}}</b>
</div> </div>
<div class="d-none d-lg-block text-truncate text-muted small privacy"> <div class="d-none d-lg-block text-truncate text-muted small privacy">
{{ getPrimaryEmailTo(message) }} {{ getPrimaryEmailTo(message) }}