[openstreetmap/openstreetmap-website] Add functionality to return a specific message for zero hour blocks (#1443)

Simon Poole notifications at github.com
Sat Feb 18 13:01:50 UTC 2017


This PR adds a specific message for zero hour blocks that is a bit friendlier than the rather technical default message.

While this improves the messaging special support at least in iD would be good as the user is asked to login to the OSM website and it may not be clear to the user how to do this without losing their edits.

Tests to come.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Add functionality to return a specific message for zero hour blocks

-- File Changes --

    M app/controllers/application_controller.rb (10)
    M app/models/user_block.rb (6)
    M config/locales/en.yml (1)

-- Patch Links --

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

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/1443
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170218/d2a5fc7e/attachment.html>


More information about the rails-dev mailing list