diff --git a/app/templates/index.html b/app/templates/index.html
index df6044e..d9dd2ca 100644
--- a/app/templates/index.html
+++ b/app/templates/index.html
@@ -37,7 +37,7 @@
- {% if pc.country_to_from and pc.country_to %}{{ pc.country_to_from|flag }} {{ pc.country_to_from }} → {{ pc.country_to|flag }} {{ pc.country_to }}
+ {% 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 %}
diff --git a/app/templates/postcard_detail.html b/app/templates/postcard_detail.html
index ef98b4a..fedc0ac 100644
--- a/app/templates/postcard_detail.html
+++ b/app/templates/postcard_detail.html
@@ -52,12 +52,12 @@
{{ 'pc_detail.status'|t(user.language) }}{{ {'sent':'已寄出','delivered':'已送达','received':'已收到'}.get(postcard.status, postcard.status) if user.language=='zh' else {'sent':'Sent','delivered':'Delivered','received':'Received'}.get(postcard.status, postcard.status) }}
{% if postcard.status in ('sent','delivered') %}
{{ 'pc_detail.recipient'|t(user.language) }}{{ postcard.recipient_name or '-' }}
-
{{ 'pc_detail.route'|t(user.language) }}{% if postcard.country_to_from %}{{ postcard.country_to_from|flag }} {{ postcard.country_to_from }} → {% endif %}{{ postcard.country_to|flag }} {{ postcard.country_to or '-' }}
+
{{ 'pc_detail.route'|t(user.language) }}{% if postcard.country_from %}{{ postcard.country_from|flag }} {{ postcard.country_from }} → {% endif %}{{ postcard.country_to|flag }} {{ postcard.country_to or '-' }}
{{ 'pc_detail.send_time'|t(user.language) }}{{ postcard.send_time.strftime('%Y-%m-%d') if postcard.send_time else '-' }}
{{ 'pc_detail.arrival_time'|t(user.language) }}{{ postcard.arrival_time.strftime('%Y-%m-%d') if postcard.arrival_time else '-' }}
{% else %}
{{ 'pc_detail.sender'|t(user.language) }}{{ postcard.sender_name or '-' }}
-
{{ 'pc_detail.route'|t(user.language) }}{% if postcard.country_to_from %}{{ postcard.country_to_from|flag }} {{ postcard.country_to_from }} → {% endif %}{{ postcard.country_to|flag }} {{ postcard.country_to or '-' }}
+
{{ 'pc_detail.route'|t(user.language) }}{% if postcard.country_from %}{{ postcard.country_from|flag }} {{ postcard.country_from }} → {% endif %}{{ postcard.country_to|flag }} {{ postcard.country_to or '-' }}
{{ 'pc_detail.receive_time'|t(user.language) }}{{ postcard.receive_time.strftime('%Y-%m-%d') if postcard.receive_time else '-' }}
{% endif %}
{{ 'pc_detail.profile'|t(user.language) }}{{ postcard.profile.nickname }}
diff --git a/app/templates/postcard_form.html b/app/templates/postcard_form.html
index 6ea0bd2..4396445 100644
--- a/app/templates/postcard_form.html
+++ b/app/templates/postcard_form.html
@@ -32,7 +32,7 @@
{{ pc.card_number }}
- {% if pc.country_to_from %}{{ pc.country_to_from|flag }}→{% endif %}{{ pc.country_to|flag }} {{ pc.country_to or '-' }}
+ {% if pc.country_from %}{{ pc.country_from|flag }}→{% endif %}{{ pc.country_to|flag }} {{ pc.country_to or '-' }}
→ {{ pc.recipient_name or '-' }}
{{ {'sent':'已寄出','delivered':'已送达'}.get(pc.status) if user.language=='zh' else {'sent':'Sent','delivered':'Delivered'}.get(pc.status) }}
diff --git a/app/templates/showcase.html b/app/templates/showcase.html
index 2a562d8..0f9b483 100644
--- a/app/templates/showcase.html
+++ b/app/templates/showcase.html
@@ -49,8 +49,8 @@
- {% if pc.country_to_from and pc.country_to %}{{ pc.country_to_from|flag }} {{ pc.country_to_from }} → {{ pc.country_to|flag }} {{ pc.country_to }}
- {% elif pc.country_to %}{{ pc.country_to|flag }}
+ {% 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.send_time %}{{ pc.send_time.strftime('%Y-%m-%d') }}{% endif %}
@@ -74,8 +74,8 @@
- {% if pc.country_to_from and pc.country_to %}{{ pc.country_to_from|flag }} {{ pc.country_to_from }} → {{ pc.country_to|flag }} {{ pc.country_to }}
- {% elif pc.country_to %}{{ pc.country_to|flag }}
+ {% 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.send_time %}{{ pc.send_time.strftime('%Y-%m-%d') }}{% endif %}
@@ -100,8 +100,8 @@
- {% if pc.country_to_from and pc.country_to %}{{ pc.country_to_from|flag }} {{ pc.country_to_from }} → {{ pc.country_to|flag }} {{ pc.country_to }}
- {% elif pc.country_to %}{{ pc.country_to|flag }}
+ {% 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.receive_time %}{{ pc.receive_time.strftime('%Y-%m-%d') }}{% endif %}
@@ -125,8 +125,8 @@
- {% if pc.country_to_from and pc.country_to %}{{ pc.country_to_from|flag }} {{ pc.country_to_from }} → {{ pc.country_to|flag }} {{ pc.country_to }}
- {% elif pc.country_to %}{{ pc.country_to|flag }}
+ {% 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.receive_time %}{{ pc.receive_time.strftime('%Y-%m-%d') }}{% endif %}