fix: double signature in emails

This commit is contained in:
pateljannat 2021-03-03 16:18:49 +05:30
parent cca0b6a00a
commit 0861b40f3c
2 changed files with 2 additions and 1 deletions

View file

@ -258,7 +258,6 @@ def get_formatted_html(subject, message, footer=None, print_html=None,
"site_url": get_url(),
"header": get_header(header),
"content": message,
"signature": get_signature(email_account),
"footer": get_footer(email_account, footer),
"title": subject,
"print_html": print_html,

View file

@ -37,7 +37,9 @@
<tr>
<td valign="top">
<p>{{ content }}</p>
{% if signature %}
<p class="signature">{{ signature }}</p>
{% endif %}
</td>
</tr>
</table>