diff options
author | Drew DeVault <sir@cmpwn.com> | 2020-11-19 10:43:18 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-11-19 10:43:18 -0500 |
commit | 2fb78cad973765e3471884b8cb404948d40ab2aa (patch) | |
tree | 45042dfe64240dc6a718b4181316c96764891623 | |
parent | 2430473dbcbcad3685f56208a7c8c6a8cd8bab26 (diff) | |
download | alps-2fb78cad973765e3471884b8cb404948d40ab2aa.tar.gz alps-2fb78cad973765e3471884b8cb404948d40ab2aa.zip |
Fix name of HTML tab in HTML-only emails
-rw-r--r-- | themes/alps/message.html | 8 |
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 |