mirror of
https://github.com/simple-login/app.git
synced 2024-09-30 13:41:29 +02:00
Hide download for deleted refused emails
This commit is contained in:
parent
688ae8911f
commit
5dcf616325
@ -27,9 +27,12 @@
|
||||
Sent {{ refused_email.created_at | dt }}
|
||||
</div>
|
||||
|
||||
|
||||
<a href="{{ refused_email.get_url() }}" class="mt-4">View →</a>
|
||||
<div class="small-text">This will download a ".eml" file that you can open in your favorite email client</div>
|
||||
{% if refused_email.deleted %}
|
||||
Email deleted {{ refused_email.deleted_at | dt }}
|
||||
{% else %}
|
||||
<a href="{{ refused_email.get_url() }}" 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>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user