mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 18:06:44 +00:00
email_log: Show reply_to address if present.
This commit is contained in:
@@ -1,4 +1,11 @@
|
|||||||
<h4>From: {{ from_email }}</h4>
|
<h4>From: {{ from_email }}</h4>
|
||||||
|
{% if reply_to %}
|
||||||
|
<h4>Reply To:
|
||||||
|
{% for email in reply_to %}
|
||||||
|
{{ email }}
|
||||||
|
{% endfor %}
|
||||||
|
</h4>
|
||||||
|
{% endif %}
|
||||||
<h4>To:
|
<h4>To:
|
||||||
{% for recipient in recipients %}
|
{% for recipient in recipients %}
|
||||||
{{ recipient }}
|
{{ recipient }}
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ class EmailLogBackEnd(BaseEmailBackend):
|
|||||||
context = {
|
context = {
|
||||||
'subject': email.subject,
|
'subject': email.subject,
|
||||||
'from_email': email.from_email,
|
'from_email': email.from_email,
|
||||||
|
'reply_to': email.reply_to,
|
||||||
'recipients': email.to,
|
'recipients': email.to,
|
||||||
'body': email.body,
|
'body': email.body,
|
||||||
'html_message': html_message,
|
'html_message': html_message,
|
||||||
|
|||||||
Reference in New Issue
Block a user