[openstreetmap/openstreetmap-website] Truncate if necessary and set dir=auto for note usernames (PR #5377)
Anton Khorev
notifications at github.com
Wed Dec 4 11:03:12 UTC 2024
Similar to #5371 but for notes.
Fixes #3964.
Before:

note "43 (part of username) minutes ago", this is issue #3964
After:

You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5377
-- Commit Summary --
* Truncate if necessary and set dir=auto for note usernames
-- File Changes --
M app/helpers/note_helper.rb (3)
M app/views/notes/show.html.erb (24)
M test/helpers/note_helper_test.rb (34)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5377.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5377.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5377
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5377 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241204/824d454f/attachment-0001.htm>
More information about the rails-dev
mailing list