[openstreetmap/openstreetmap-website] Provide a truncated view of recent diaries (PR #5121)
Anton Khorev
notifications at github.com
Sat Mar 22 12:03:26 UTC 2025
AntonKhorev left a comment (openstreetmap/openstreetmap-website#5121)
> I think this needs some sort of indication when an entry has been truncated - an ellipsis at the end of the truncated text or something.
Do we want another method instead of building truncation into `to_html`? We need it to return the html and whether it was truncated, so we can display "See full entry" only if truncation happened.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5121#issuecomment-2745238045
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5121/c2745238045 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250322/965c7e40/attachment.htm>
More information about the rails-dev
mailing list