[openstreetmap/openstreetmap-website] Show notes with no visible comments; show only first comment as note description (PR #3608)

Anton Khorev notifications at github.com
Thu Jul 21 09:39:09 UTC 2022


> Did you already check how this fits with #3441? I'd be happy if we could avoid some (larger) rework here, and see how different pieces could fit together nicely.

Seems to work ok with one line line of code to be changed manually, the one that decides how many comments to drop to get regular comments:

    <% @note_comments.drop(1).each do |comment| %>

to

    <% @note_comments.drop(@note_description_comments_count).each do |comment| %>


-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3608#issuecomment-1191269573
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/3608/c1191269573 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220721/f8a7b605/attachment.htm>


More information about the rails-dev mailing list