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 5674a37..bbc83c7 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 %>