[openstreetmap/openstreetmap-website] Prefill links (PR #7272)
Marwin Hochfelsner
notifications at github.com
Wed Jul 29 07:50:26 UTC 2026
#7238 uncovered some link target definitions in JS; let's move them into the templates.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/7272
-- Commit Summary --
* Reassign map url getter responsibilities
* Set map share link targets from the template
* Apply url changes part by part
-- File Changes --
M app/assets/javascripts/leaflet.map.js (44)
M app/assets/javascripts/leaflet.share.js (28)
M app/views/directions/show.html.erb (2)
M app/views/share_panes/show.html.erb (8)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/7272.patch
https://github.com/openstreetmap/openstreetmap-website/pull/7272.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7272
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/7272 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260729/fa841b91/attachment.htm>
More information about the rails-dev
mailing list