fix(dashboard): country on first line, person + time on second line
This commit is contained in:
@@ -122,13 +122,13 @@ new Chart(document.getElementById('chart-received'), {
|
||||
{% if pc.country_from and pc.country_to %}<span>{{ pc.country_from|flag }} {{ pc.country_from }} → {{ pc.country_to|flag }} {{ pc.country_to }}</span>
|
||||
{% elif pc.country_to %}<span>{{ pc.country_to|flag }} {{ pc.country_to }}</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="recent-meta" style="margin-left:0">
|
||||
{% if pc.status in ('sent','delivered') %}
|
||||
<span>→ {{ pc.recipient_name or '-' }}</span>
|
||||
{% else %}
|
||||
<span>← {{ pc.sender_name or '-' }}</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="recent-meta" style="margin-left:0">
|
||||
<span class="recent-time">
|
||||
{% if pc.status == 'sent' and pc.send_time %}
|
||||
{% set delta = (now.date() - pc.send_time.date()).days %}
|
||||
|
||||
Reference in New Issue
Block a user