From 50e131244ad78fd1e4c216770ff69471a6fcb03b Mon Sep 17 00:00:00 2001 From: Eyal Sawady Date: Thu, 25 Jun 2020 17:36:55 -0400 Subject: alps theme: fix nil on emails without a text part Closes: https://todo.sr.ht/~emersion/alps/100 --- themes/alps/mailbox.html | 2 +- themes/alps/message.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/themes/alps/mailbox.html b/themes/alps/mailbox.html index 93a45ce..0c70385 100644 --- a/themes/alps/mailbox.html +++ b/themes/alps/mailbox.html @@ -47,7 +47,7 @@ {{ end }}
- + {{if .Envelope.Subject}} {{.Envelope.Subject}} {{else}} diff --git a/themes/alps/message.html b/themes/alps/message.html index 1d74489..2926641 100644 --- a/themes/alps/message.html +++ b/themes/alps/message.html @@ -128,10 +128,10 @@ {{if .Message.HasFlag "\\Draft"}} - Edit draft + Edit draft {{else}} - Reply - Forward + Reply + Forward {{end}}
-- cgit v1.2.3