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

View file

@ -190,7 +190,13 @@
{{ if eq $text.PathString .Part.PathString }} {{ if eq $text.PathString .Part.PathString }}
class="active" class="active"
{{ end }} {{ end }}
>Plain text</a> >
{{ if eq $text.MIMEType "text/html" }}
HTML
{{ else }}
Plain text
{{ end }}
</a>
{{ if and $html $text }} {{ if and $html $text }}
{{ if ne $html.PathString $text.PathString }} {{ if ne $html.PathString $text.PathString }}
<a <a