themes/sourcehut: fallback to Mailbox@Hostname

This commit is contained in:
Gusted 2021-08-22 13:27:56 +02:00 committed by Simon Ser
parent 5265ac59b1
commit 1af693ce53
1 changed files with 5 additions and 1 deletions

View File

@ -60,7 +60,11 @@
</span>
<span class="text-normal from">
{{ range .Envelope.From }}
{{ .PersonalName }}
{{ if .PersonalName }}
{{ .PersonalName }}
{{ else }}
{{ .MailboxName }}@{{ .HostName }}
{{ end }}
{{ end }}
</span>
<span class="{{if not (.HasFlag "\\Seen")}}font-weight-bold{{end}}">