Added a Donate link to the sitewide navigation bar. Similar to #6600, but supporting.openstreetmap.org opens in a new tab instead of an iframe. Pulled the URL to the donation site into a configuration variable since it doesn’t need to be localized per occurrence.
Before | After ----|---- <img width="1080" height="810" alt="History, Export, GPS Traces, User Diaries, Communities, Copyright, Help, and About" src="https://github.com/user-attachments/assets/b3567fdc-d021-45f5-aa30-dbd5296557d2" /> | <img width="1080" height="810" alt="History, Export, GPS Traces, User Diaries, Communities, Copyright, and Help; Donate and About in More overflow menu" src="https://github.com/user-attachments/assets/0014b68e-0a46-4e5e-8116-af67bff82cc4" /> I considered creating a landing page as suggested in https://github.com/openstreetmap/openstreetmap-website/pull/6600#issuecomment-3638068481, but it wasn’t clear what the landing page should say that isn’t already on the landing page at supporting.openstreetmap.org. So I just kept things as simple as possible. Fixes #6517. You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/6617 -- Commit Summary -- * Added Donate button to navigation bar -- File Changes -- M app/views/layouts/_header.html.erb (3) M app/views/site/copyright.html.erb (5) M config/locales/en.yml (2) M config/settings.yml (2) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/6617.patch https://github.com/openstreetmap/openstreetmap-website/pull/6617.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/6617 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
