From 0861b40f3cbc3c95f7948ee3323ff46982a4f471 Mon Sep 17 00:00:00 2001 From: pateljannat Date: Wed, 3 Mar 2021 16:18:49 +0530 Subject: [PATCH] fix: double signature in emails --- frappe/email/email_body.py | 1 - frappe/templates/emails/standard.html | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frappe/email/email_body.py b/frappe/email/email_body.py index 3fb1dfa0da..f8bab0d1a6 100755 --- a/frappe/email/email_body.py +++ b/frappe/email/email_body.py @@ -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, diff --git a/frappe/templates/emails/standard.html b/frappe/templates/emails/standard.html index 4a47c9cf90..4c28b5152e 100644 --- a/frappe/templates/emails/standard.html +++ b/frappe/templates/emails/standard.html @@ -37,7 +37,9 @@

{{ content }}

+ {% if signature %}

{{ signature }}

+ {% endif %}