[openstreetmap/openstreetmap-website] On-site notifications (PR #7030)
Pablo Brasero
notifications at github.com
Wed May 13 19:40:02 UTC 2026
@pablobm commented on this pull request.
> + t(".changeset_comment"),
+ changeset_path(
+ notification.changeset,
+ :anchor => "c#{notification.comment_id}"
+ )
+ ),
+ :commenter_name_link => link_to(
+ notification.commenter.display_name,
+ notification.commenter
+ ),
+ :time_ago => friendly_date_ago(notification.timestamp)
+ ) %>
+ </p>
+ <blockquote class="mx-2 fst-italic">
+ <p class="text-truncate"><%= notification.comment_body.truncate(200, :separator => " ") %></p>
+ </blockquote>
I have made it so that the headline of each type of notification links to the appropriate event (note comment, uploaded trace, etc).
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7030#discussion_r3236971137
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/7030/review/4284799078 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260513/a72f6339/attachment-0001.htm>
More information about the rails-dev
mailing list