From 05168fb1caf13c7bb5691e948b32057f77ee48ed Mon Sep 17 00:00:00 2001 From: Zichao Lin Date: Wed, 15 Jul 2026 19:16:41 +0800 Subject: [PATCH] fix(postcard): remove auto option from status dropdown, auto-select silently by date --- app/locales/en.json | 1 - app/locales/zh.json | 1 - app/templates/postcard_form.html | 47 +++++++++++--------------------- 3 files changed, 16 insertions(+), 33 deletions(-) diff --git a/app/locales/en.json b/app/locales/en.json index ba7da72..e696947 100644 --- a/app/locales/en.json +++ b/app/locales/en.json @@ -122,7 +122,6 @@ "pc_form.number": "Number", "pc_form.number_hint": "Format: AB-1234567", "pc_form.status": "Status", - "pc_form.status_auto": "Auto (based on date)", "pc_form.recipient": "Recipient", "pc_form.country": "Country", "pc_form.country_from": "From", diff --git a/app/locales/zh.json b/app/locales/zh.json index 372196c..3163d48 100644 --- a/app/locales/zh.json +++ b/app/locales/zh.json @@ -122,7 +122,6 @@ "pc_form.number": "编号", "pc_form.number_hint": "格式:AB-1234567", "pc_form.status": "状态", - "pc_form.status_auto": "自动(根据日期)", "pc_form.recipient": "收件人", "pc_form.country": "国家/地区", "pc_form.country_from": "寄出地", diff --git a/app/templates/postcard_form.html b/app/templates/postcard_form.html index e998e0a..215244c 100644 --- a/app/templates/postcard_form.html +++ b/app/templates/postcard_form.html @@ -37,16 +37,11 @@ {% if is_new %} {# 新建寄出:状态默认由日期自动判定,可手动覆盖 #} -
- - -
- + {% else %} {# 编辑时:显示状态选择 #} @@ -84,17 +79,17 @@