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/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to