6 Commits
Author SHA1 Message Date
junv 4a5f0f63ee fix(pricemon): load i18n in _alerts partial and pass alerts to include
AlertsPartialView (htmx-polled every 30s from the dashboard) returned
500 because _alerts.html used {% trans %} without {% load i18n %}.
Added the load tag so the partial renders correctly.

The dashboard's inline {% include 'pricemon/_alerts.html' %} also
relied on an undefined 'alerts' context var (DashboardView sets
'active_alerts'), so the alerts panel rendered empty even when alerts
existed. Pass alerts=active_alerts explicitly via the include.

Add regression tests covering both the dashboard render with an alert
and the alerts partial endpoint.
2026-07-16 09:34:15 +10:00
junv 647ce87359 Add price monitor toggle 2026-06-23 16:25:59 +10:00
junv 227bc9b1de Update price monitor settings 2026-05-23 10:15:09 +10:00
junv a369bc7975 Update UI 2026-05-16 09:12:18 +10:00
junv f587ab3053 UI tweaks 2026-05-11 21:53:43 +10:00
junv 1b04d500d1 Add price check 2026-05-11 21:28:59 +10:00