refactor: rename forward -> contact

This commit is contained in:
Son NK 2020-08-15 16:56:16 +02:00
parent bf555ed605
commit f9300009e5
1 changed files with 3 additions and 3 deletions

View File

@ -30,15 +30,15 @@
{% for email_log in email_logs %} {% for email_log in email_logs %}
{% set refused_email = email_log.refused_email %} {% set refused_email = email_log.refused_email %}
{% set forward = email_log.forward %} {% set contact = email_log.contact %}
{% set alias = forward.alias %} {% set alias = contact.alias %}
<div class="card p-4 shadow-sm {% if email_log.id == highlight_id %} highlight-row {% endif %}"> <div class="card p-4 shadow-sm {% if email_log.id == highlight_id %} highlight-row {% endif %}">
<div class="small-text"> <div class="small-text">
Sent {{ refused_email.created_at | dt }} Sent {{ refused_email.created_at | dt }}
</div> </div>
From: {{ forward.website_email }} <br> From: {{ contact.website_email }} <br>
<span> <span>
To: {{ alias.email }} To: {{ alias.email }}