aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGusted <williamzijl7@hotmail.com>2021-08-22 13:27:56 +0200
committerSimon Ser <contact@emersion.fr>2021-08-23 10:05:16 +0200
commit1af693ce5382c8b6e04a94f9cdb2331697853c1b (patch)
treedc27b88d962f1e18a4939eaa51b5319eaa0e122e
parent5265ac59b1c8f40ced2294be72a41746b5a8a041 (diff)
downloadalps-1af693ce5382c8b6e04a94f9cdb2331697853c1b.tar.gz
alps-1af693ce5382c8b6e04a94f9cdb2331697853c1b.zip
themes/sourcehut: fallback to Mailbox@Hostname
-rw-r--r--themes/sourcehut/mailbox.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/themes/sourcehut/mailbox.html b/themes/sourcehut/mailbox.html
index 70b0635..e4bada5 100644
--- a/themes/sourcehut/mailbox.html
+++ b/themes/sourcehut/mailbox.html
@@ -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}}">