diff --git a/app/templates/dashboard.html b/app/templates/dashboard.html index 45c9473..fd78ab6 100644 --- a/app/templates/dashboard.html +++ b/app/templates/dashboard.html @@ -122,13 +122,13 @@ new Chart(document.getElementById('chart-received'), { {% if pc.country_from and pc.country_to %}{{ pc.country_from|flag }} {{ pc.country_from }} → {{ pc.country_to|flag }} {{ pc.country_to }} {% elif pc.country_to %}{{ pc.country_to|flag }} {{ pc.country_to }} {% endif %} + +
{% if pc.status in ('sent','delivered') %} → {{ pc.recipient_name or '-' }} {% else %} ← {{ pc.sender_name or '-' }} {% endif %} -
-
{% if pc.status == 'sent' and pc.send_time %} {% set delta = (now.date() - pc.send_time.date()).days %}