[openstreetmap/openstreetmap-website] Add Terms of Use notice to welcome banner (PR #6866)
Arpan Mukherjee
notifications at github.com
Thu Mar 5 17:38:38 UTC 2026
Closes #6791
Adds a Terms of Use notice to the welcome banner displayed to unauthenticated users on the map page.
Implementation details:
- Added a new translation string `layouts.welcome_tou_notice_html` in `config/locales/en.yml`.
- Appended the notice to the existing welcome banner in `app/views/layouts/map.html.erb`.
- Kept `layouts.hosting_partners_2024_html` unchanged since it is reused on other pages.
The notice includes a link to the Terms of Use.
Since `/terms` does not appear to exist as a route locally or on the official site , the link currently points to `/copyright`, where the Terms of Use are documented. This can be adjusted if another destination is preferred.
<img width="357" height="539" alt="image" src="https://github.com/user-attachments/assets/b1f5ddb8-b56c-49f2-b380-de0d9485da6f" />
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/6866
-- Commit Summary --
* Add Terms of Use notice to welcome banner
-- File Changes --
M app/views/layouts/map.html.erb (4)
M config/locales/en.yml (8)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/6866.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6866.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6866
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6866 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260305/825ae4b9/attachment.htm>
More information about the rails-dev
mailing list