diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-17 13:05:50 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-08-17 13:05:50 +0200 |
| commit | b626f15b6e40311143cdec91728046dc79e0d328 (patch) | |
| tree | 9c7ff4f9a879785d5a63b3410e0aa02be1a5219d /web/templates.templ | |
| parent | 151853c458348a4afccd7677deba6366ee4181eb (diff) | |
feat(web): display nearby passes on ride maps
Diffstat (limited to 'web/templates.templ')
| -rw-r--r-- | web/templates.templ | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/templates.templ b/web/templates.templ index 795af43..f3f07e7 100644 --- a/web/templates.templ +++ b/web/templates.templ @@ -169,6 +169,7 @@ templ RideDetailContent(data RideDetailView) { if data.HasRoute { @templ.JSONScript("ride-route", data.Route) @templ.JSONScript("ride-profile", data.Profile) + @templ.JSONScript("ride-passes", data.Passes) <script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"></script> <script type="module" src="/static/ride-detail.js"></script> } |