mirror of
https://github.com/simple-login/app.git
synced 2025-02-24 15:53:22 +08:00
display bounce during reply phase on alias log page
This commit is contained in:
parent
aae63006c6
commit
b942b44ec8
1 changed files with 9 additions and 2 deletions
|
@ -111,7 +111,6 @@
|
|||
{% if log.bounced %}
|
||||
⚠️
|
||||
{% else %}
|
||||
|
||||
{% if log.is_reply %}
|
||||
<i class="fa fa-reply"></i>
|
||||
{% elif log.blocked %}
|
||||
|
@ -123,7 +122,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{% if log.bounced %}
|
||||
{% if log.bounced and not log.is_reply %}
|
||||
<div>
|
||||
<span class="mr-2">{{ log.website_email }}</span>
|
||||
<img src="{{ url_for('static', filename='arrows/forward-arrow.svg') }}" class="arrow">
|
||||
|
@ -131,6 +130,14 @@
|
|||
<img src="{{ url_for('static', filename='arrows/blocked-arrow.svg') }}" class="arrow">
|
||||
<span class="ml-2">{{ log.email_log.bounced_mailbox() }}</span>
|
||||
</div>
|
||||
{% elif log.bounced and log.is_reply %}
|
||||
<div>
|
||||
<span class="ml-2">{{ log.email_log.bounced_mailbox() }}</span>
|
||||
<img src="{{ url_for('static', filename='arrows/forward-arrow.svg') }}" class="arrow">
|
||||
<span class="ml-2">{{ log.alias }}</span>
|
||||
<img src="{{ url_for('static', filename='arrows/blocked-arrow.svg') }}" class="arrow">
|
||||
<span class="mr-2">{{ log.website_email }}</span>
|
||||
</div>
|
||||
{% else %}
|
||||
<div>
|
||||
{{ log.website_email }}
|
||||
|
|
Loading…
Reference in a new issue