[openstreetmap/openstreetmap-website] Show 'api offline' message on new note page (PR #5408)

Anton Khorev notifications at github.com
Tue Dec 17 00:37:05 UTC 2024


Show this on `/note/new` if the api is not online:
![image](https://github.com/user-attachments/assets/1c1bb942-28ed-423a-a0cd-2944cbd40410)

Fixes #5404.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5408

-- Commit Summary --

  * Show 'api offline' message on new note page

-- File Changes --

    M app/controllers/notes_controller.rb (4)
    A app/views/notes/new_readonly.html.erb (7)
    M config/locales/en.yml (3)
    A test/system/create_note_test.rb (23)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5408.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5408.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5408
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5408 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241216/754b00bc/attachment.htm>


More information about the rails-dev mailing list