[openstreetmap/openstreetmap-website] Add date and url settings for offline message (PR #5403)
Anton Khorev
notifications at github.com
Mon Dec 16 17:11:16 UTC 2024
The current message doesn't say much about how long the api/db is expected to stay down.
on map layout:

on site layout:

You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5403
-- Commit Summary --
* Move map offline flash to partial
* Use offline flash partial on edit page
* Use offline flash partial on offline redirect target page
* Change scope of offline flash messages
* Add offline announcement setting
* Add expected restoration date setting
-- File Changes --
M app/controllers/application_controller.rb (11)
M app/controllers/site_controller.rb (14)
A app/views/layouts/_offline_flash.erb (26)
A app/views/site/_not_public_flash.erb (3)
M app/views/site/edit.html.erb (14)
M config/locales/en.yml (12)
M config/settings.yml (4)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5403.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5403.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5403
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5403 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241216/59c625db/attachment.htm>
More information about the rails-dev
mailing list