fix: double signature in emails
This commit is contained in:
parent
cca0b6a00a
commit
0861b40f3c
2 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -37,7 +37,9 @@
|
|||
<tr>
|
||||
<td valign="top">
|
||||
<p>{{ content }}</p>
|
||||
{% if signature %}
|
||||
<p class="signature">{{ signature }}</p>
|
||||
{% endif %}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue