feat(dispatch): Order ID 강조 + 송장번호 배송조회 딥링크
- Order ID 를 카드에서 가장 크게(22px bold) 표시 — 가장 자주 보는 값 - Tracking 번호 클릭 시 배송사 조회 페이지로 송장번호 채워 새 탭 이동 (store.courier_tracking_url + Jinja 필터 courier_track) - Ninja Van/J&T 등 말레이시아 주요 배송사 URL 매핑(미매핑은 텍스트 폴백) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+9
-2
@@ -125,10 +125,17 @@ templates.env.loader = ChoiceLoader(
|
||||
]
|
||||
)
|
||||
|
||||
# 배송사명 → 로고 URL(dispatch 모듈). 템플릿에서 {{ provider | courier_logo }}.
|
||||
from .modules.dispatch.store import courier_logo_url as _courier_logo_url # noqa: E402
|
||||
# dispatch 모듈 템플릿 필터: 배송사 로고 URL / 송장 조회 딥링크.
|
||||
# {{ provider | courier_logo }} · {{ tracking | courier_track(provider) }}
|
||||
from .modules.dispatch.store import ( # noqa: E402
|
||||
courier_logo_url as _courier_logo_url,
|
||||
)
|
||||
from .modules.dispatch.store import ( # noqa: E402
|
||||
courier_tracking_url as _courier_tracking_url,
|
||||
)
|
||||
|
||||
templates.env.filters["courier_logo"] = _courier_logo_url
|
||||
templates.env.filters["courier_track"] = _courier_tracking_url
|
||||
|
||||
oauth = build_google_oauth()
|
||||
user_store = UserStore(DATA_DIR / "users.json")
|
||||
|
||||
Reference in New Issue
Block a user