Fix name of HTML tab in HTML-only emails

This commit is contained in:
Drew DeVault 2020-11-19 10:43:18 -05:00
parent 2430473dbc
commit 2fb78cad97
1 changed files with 7 additions and 1 deletions

View File

@ -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