[openstreetmap/openstreetmap-website] Don't display a box at all if the note event doesn't include a comment (#1432)

Hervé Saint-Amand notifications at github.com
Wed Feb 8 22:29:38 UTC 2017


This fixes the bug reported in [this comment on PR #1401](https://github.com/openstreetmap/openstreetmap-website/pull/1401#issuecomment-278389580)
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Don't display a box at all if the note event doesn't include a comment body

-- File Changes --

    M app/views/notifier/note_comment_notification.html.erb (6)
    M app/views/notifier/note_comment_notification.text.erb (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/1432.patch
https://github.com/openstreetmap/openstreetmap-website/pull/1432.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/1432
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170208/51a0b9c1/attachment.html>


More information about the rails-dev mailing list