[openstreetmap/openstreetmap-website] Display message when the there are no notes/comments to display (#3169)

Harry Wood notifications at github.com
Fri Apr 9 18:04:40 UTC 2021


Display more specific/friendly message when the there are no notes/comments to display, rather than empty tables.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Display no notes message when empty
  * Display no diary comments message when empty

-- File Changes --

    M app/views/diary_entries/comments.html.erb (44)
    M app/views/notes/index.html.erb (65)
    M config/locales/en.yml (2)
    M test/controllers/diary_entries_controller_test.rb (4)
    M test/controllers/notes_controller_test.rb (7)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/3169.patch
https://github.com/openstreetmap/openstreetmap-website/pull/3169.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/3169
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20210409/25116d8c/attachment.htm>


More information about the rails-dev mailing list