[openstreetmap/openstreetmap-website] Add user_<uid> class to diary entry div (#2266)

Richard Fairhurst notifications at github.com
Mon Jun 17 13:07:26 UTC 2019


This adds a class containing the user ID to the <div> element enclosing a diary entry.

So, for example, a diary entry I write would get the class `user_165`.

This enables a site viewer to add basic killfile-like functionality with Firefox's usercontent.css or extensions like Stylus.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Add user_<uid> class to diary entry div

-- File Changes --

    M app/views/diary_entries/_diary_entry.html.erb (2)

-- Patch Links --

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


More information about the rails-dev mailing list