[openstreetmap/openstreetmap-website] Add kilometers/miles switch to directions (PR #5915)

Anton Khorev notifications at github.com
Thu Apr 10 15:24:16 UTC 2025


@AntonKhorev pushed 7 commits.

508cf0445893986ba1e852cfc9521568c3dde8d6  Write most of route html using erb template
d3f9b28fdafc77868d7af2808a1028976b150c34  Move directions template strings out of javascript
684fbf2fc4d1d3fb2b648be2d15c9d4f9a27fd56  Add km/mi buttons to directions
fefcf64b01602c799a65069d6495b61e144157e3  Enable km/mi switching in route summary
1a48e9b38105de5f06083e87c3530582ef9508fd  Enable km/mi switching in route steps
4382a8ba5e4a5c7b8fcd4d6a9a6cf27ca2fbd256  Move distance in units translations into their own scope
c4498bce39bdfaa2b9f88540fa3ac7e7c3396be3  Share distance formatting code branches between km/mi

-- 
View it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5915/files/2be055360a34ef116bc6ab53ea52e0633c0662d9..c4498bce39bdfaa2b9f88540fa3ac7e7c3396be3
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5915/before/2be055360a34ef116bc6ab53ea52e0633c0662d9/after/c4498bce39bdfaa2b9f88540fa3ac7e7c3396be3 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250410/d17066a4/attachment.htm>


More information about the rails-dev mailing list