aboutsummaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-11-19 10:43:18 -0500
committerDrew DeVault <sir@cmpwn.com>2020-11-19 10:43:18 -0500
commit2fb78cad973765e3471884b8cb404948d40ab2aa (patch)
tree45042dfe64240dc6a718b4181316c96764891623 /themes
parent2430473dbcbcad3685f56208a7c8c6a8cd8bab26 (diff)
downloadalps-2fb78cad973765e3471884b8cb404948d40ab2aa.tar.gz
alps-2fb78cad973765e3471884b8cb404948d40ab2aa.zip
Fix name of HTML tab in HTML-only emails
Diffstat (limited to 'themes')
-rw-r--r--themes/alps/message.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/themes/alps/message.html b/themes/alps/message.html
index 8d6c425..350ab0a 100644
--- a/themes/alps/message.html
+++ b/themes/alps/message.html
@@ -190,7 +190,13 @@
{{ if eq $text.PathString .Part.PathString }}
class="active"
{{ end }}
- >Plain text</a>
+ >
+ {{ if eq $text.MIMEType "text/html" }}
+ HTML
+ {{ else }}
+ Plain text
+ {{ end }}
+ </a>
{{ if and $html $text }}
{{ if ne $html.PathString $text.PathString }}
<a