From 80928d5ae699865873548281cba8ef0bad5de2f2 Mon Sep 17 00:00:00 2001 From: Zichao Lin Date: Sun, 5 Jul 2026 23:06:56 +0800 Subject: [PATCH] feat(ui): show arrival date below send date for delivered postcards --- app/templates/postcards.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/templates/postcards.html b/app/templates/postcards.html index 048a925..ed3c4a6 100644 --- a/app/templates/postcards.html +++ b/app/templates/postcards.html @@ -38,7 +38,10 @@ {{ pc.country|flag }} {{ pc.country or '-' }} → {{ pc.recipient_name or '-' }} {{ {'sent':'已寄出','delivered':'已送达'}.get(pc.status) }} - {% if pc.send_time %}{{ pc.send_time.strftime('%Y-%m-%d') }}寄出{% endif %} + + {% if pc.send_time %}{{ pc.send_time.strftime('%Y-%m-%d') }}寄出{% endif %} + {% if pc.arrival_time %}
{{ pc.arrival_time.strftime('%Y-%m-%d') }}送达{% endif %} +
{% if pc.status == 'sent' %}