diff options
author | Gusted <williamzijl7@hotmail.com> | 2021-08-22 13:27:56 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-08-23 10:05:16 +0200 |
commit | 1af693ce5382c8b6e04a94f9cdb2331697853c1b (patch) | |
tree | dc27b88d962f1e18a4939eaa51b5319eaa0e122e /themes | |
parent | 5265ac59b1c8f40ced2294be72a41746b5a8a041 (diff) | |
download | alps-1af693ce5382c8b6e04a94f9cdb2331697853c1b.tar.gz alps-1af693ce5382c8b6e04a94f9cdb2331697853c1b.zip |
themes/sourcehut: fallback to Mailbox@Hostname
Diffstat (limited to 'themes')
-rw-r--r-- | themes/sourcehut/mailbox.html | 6 |
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}}"> |