style(라이브): 오른쪽 달력 글자 굵게, 방송 있는 날 점 표시
- 공용 erp-datepop mountRange 에 dayClass 옵션(없으면 예전 그대로) - 달력 화면이 보는 달 ±1년의 방송 날짜를 넘기고, 그 날에 초록 점 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -15,6 +15,7 @@ DB: LIVE_DB_URL(live_db) — 없으면 "설정 필요" 안내.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from datetime import timedelta
|
||||
from pathlib import PurePath
|
||||
from typing import Any
|
||||
|
||||
@@ -161,7 +162,9 @@ def calendar(request: Request, month: str = "") -> Any:
|
||||
cal = store.build_calendar(span, st.list_broadcasts(span["start"], span["end"]), st.ad_spends(span["start"], span["end"]), today, lang)
|
||||
return _render(request, "live/calendar.html", user, {"view": "calendar", "span": span, "cal": cal, "hosts": st.host_choices(),
|
||||
"accounts": st.account_choices(), "max_images": store.MAX_IMAGES,
|
||||
"my_holidays": holidays.holiday_names(lang)})
|
||||
"my_holidays": holidays.holiday_names(lang),
|
||||
# 오른쪽 달력 점 — 앞뒤로 넘겨 볼 달까지(보는 달 ±1년)
|
||||
"live_days": st.broadcast_days(span["start"] - timedelta(days=366), span["end"] + timedelta(days=366))})
|
||||
|
||||
|
||||
@router.post("/broadcasts/{broadcast_id}/move")
|
||||
|
||||
Reference in New Issue
Block a user