]> git.openstreetmap.org Git - rails.git/commit
Display how long until a note will disappear
authorHarry Wood <github@harrywood.co.uk>
Thu, 1 Sep 2022 23:51:59 +0000 (00:51 +0100)
committerHarry Wood <github@harrywood.co.uk>
Wed, 14 Sep 2022 22:59:25 +0000 (23:59 +0100)
commitd8e51614cb04da1f61ec403af49d249209c1f7f9
tree69a2bf3645ad8e019c20fcd556ecb0bd2c9c077a
parentbf11e06e635ecb86e31f60c9dfc0e575c8f2a937
Display how long until a note will disappear

Modify the message displayed at the bottom of the notes sidepanel. For already resolved notes we don't want to say "please resolve it". Fixes https://github.com/openstreetmap/openstreetmap-website/issues/3663

Instead explain that it will disappear from the map (so reporting is probably not necessary) and display how long to go until that happens. Tackling https://github.com/openstreetmap/openstreetmap-website/issues/3071
app/helpers/note_helper.rb
app/models/note.rb
app/views/browse/note.html.erb
config/locales/en.yml
test/helpers/note_helper_test.rb