]> git.openstreetmap.org Git - rails.git/commitdiff
Add user_<uid> class to diary entry div
authorRichard Fairhurst <richard@systemeD.net>
Mon, 17 Jun 2019 13:02:52 +0000 (14:02 +0100)
committerGitHub <noreply@github.com>
Mon, 17 Jun 2019 13:02:52 +0000 (14:02 +0100)
app/views/diary_entries/_diary_entry.html.erb

index 5674a37b7c4d70f9b0041de822baf5b6ea92fce9..bbc83c740117e38ee2ce1098320a9eef1acb337d 100644 (file)
@@ -1,4 +1,4 @@
-<div class='diary_post<%= " deemphasize" unless diary_entry.visible %>'>
+<div class='diary_post<%= " deemphasize" unless diary_entry.visible %> user_<%= diary_entry.user.id %>'>
   <div class='post_heading clearfix'>
     <% if !@user %>
       <%= user_thumbnail diary_entry.user %>