diff --git a/app/static/style.css b/app/static/style.css index 72265bd..6340572 100644 --- a/app/static/style.css +++ b/app/static/style.css @@ -213,6 +213,7 @@ code { background: var(--bg); padding: .15rem .4rem; border-radius: 4px; font-si .postcard-row-info strong { white-space: nowrap; } .postcard-row-info span { white-space: nowrap; color: var(--text-muted); } .postcard-row-action { flex-shrink: 0; } +.postcard-row-date { font-size: .78rem; color: var(--text-muted); white-space: nowrap; } /* Filter */ .filter-bar { margin-bottom: 1.25rem; } diff --git a/app/templates/postcards.html b/app/templates/postcards.html index 0f8633f..048a925 100644 --- a/app/templates/postcards.html +++ b/app/templates/postcards.html @@ -38,6 +38,7 @@ {{ 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.status == 'sent' %} @@ -67,6 +68,7 @@
{{ pc.card_number }} ← {{ pc.sender_name or '-' }} + {% if pc.receive_time %}{{ pc.receive_time.strftime('%Y-%m-%d') }}收到{% endif %}
{% endfor %}