{% extends "base.html" %} {% block title %}{{ profile.nickname }} - 星笺{% endblock %} {% block content %}

{{ profile.nickname }} 的明信片

+ 新明信片
{% if profile.notes %}
{{ profile.notes }}
{% endif %}
{% if sent %} {% for pc in sent %}
{% if pc.image_front %} 正面 {% else %}
📷
{% endif %}
{{ pc.card_number }}
{{ pc.country|flag }} {{ pc.country or '-' }} → {{ pc.recipient_name or '-' }}
{% if pc.notes %}{{ pc.notes[:50] }}{% if pc.notes|length > 50 %}…{% endif %}{% endif %} {{ {'sent':'已寄出','delivered':'已送达'}.get(pc.status) }} {% 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' %}
{% endif %}
{% endfor %} {% else %}

没有寄出的明信片。

{% endif %}
{% endblock %}