feat(휴가): 협의자 결재·신청 화면 개편(라디오·붙박이 달력·결재 라인)·내 신청 내역
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -26,7 +26,12 @@ def main() -> None:
|
||||
ctx = {"user": {"email": "kim@test.local", "name": "김철수", "picture": ""}, "is_admin": False, "is_approver": False,
|
||||
"nav_items": [], "page_title": "휴가 신청", "page_subtitle": "", "mode": "new", "req": None,
|
||||
"default_date": "2026-10-27", "vacation_types": list(VACATION_TYPES), "halves": list(HALVES),
|
||||
"half_labels": HALF_LABELS, "holidays": {"2026-10-03": "개천절", "2026-10-09": "한글날", "2026-12-25": "성탄절"}}
|
||||
"half_labels": HALF_LABELS, "holidays": {"2026-10-03": "개천절", "2026-10-09": "한글날", "2026-12-25": "성탄절"},
|
||||
"consult_ready": True, "consult_chosen": {},
|
||||
"members": [{"email": "lee@test.local", "name": "이팀장", "picture": ""}, {"email": "park@test.local", "name": "박과장", "picture": ""},
|
||||
{"email": "choi@test.local", "name": "최대리", "picture": ""}],
|
||||
"line": {"approvers": [{"email": "rj@test.local", "name": "RJ", "picture": ""}],
|
||||
"notifiers": [{"email": "ellen@test.local", "name": "Ellen", "picture": ""}]}}
|
||||
html = env.get_template("vacation/form.html").render(**ctx)
|
||||
with open(os.path.join(OUT_DIR, "vac_form.html"), "w", encoding="utf-8") as f:
|
||||
f.write(html)
|
||||
|
||||
Reference in New Issue
Block a user