take into account spam email during reply phase on refused email page
This commit is contained in:
parent
f9300009e5
commit
359eec23c0
|
@ -38,13 +38,18 @@
|
||||||
Sent {{ refused_email.created_at | dt }}
|
Sent {{ refused_email.created_at | dt }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
From: {{ contact.website_email }} <br>
|
{% if email_log.is_reply %}
|
||||||
|
From: {{ alias.email }} <br>
|
||||||
|
To: {{ contact.website_email }}
|
||||||
|
{% else %}
|
||||||
|
From: {{ contact.website_email }} <br>
|
||||||
|
|
||||||
<span>
|
<span>
|
||||||
To: {{ alias.email }}
|
To: {{ alias.email }}
|
||||||
<a href='{{ url_for("dashboard.index", highlight_alias_id=alias.id) }}'
|
<a href='{{ url_for("dashboard.index", highlight_alias_id=alias.id) }}'
|
||||||
class="btn btn-sm btn-outline-danger">Disable Alias</a>
|
class="btn btn-sm btn-outline-danger">Disable Alias</a>
|
||||||
</span>
|
</span>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if refused_email.deleted %}
|
{% if refused_email.deleted %}
|
||||||
<div>
|
<div>
|
||||||
|
@ -53,7 +58,7 @@
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="{{ refused_email.get_url() }}" download
|
<a href="{{ refused_email.get_url() }}" download
|
||||||
class="mt-4">Download →</a>
|
class="mt-4">Download →</a>
|
||||||
<div class="small-text">This will download a ".eml" file that you can open in your favorite email client</div>
|
<div class="small-text">This will download a ".eml" file that you can open in your email client</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue