From 63186dc161324a123724f666910b58db4c3a235e Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 6 Jun 2019 18:20:21 +0100 Subject: [PATCH] Fix erblint warnings --- app/views/diary_entries/_diary_comment.html.erb | 2 +- app/views/diary_entries/_diary_entry.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/diary_entries/_diary_comment.html.erb b/app/views/diary_entries/_diary_comment.html.erb index 7742069a4..301739eef 100644 --- a/app/views/diary_entries/_diary_comment.html.erb +++ b/app/views/diary_entries/_diary_comment.html.erb @@ -1,4 +1,4 @@ -
+
"> <%= user_thumbnail diary_comment.user %>

<%= raw(t(".comment_from", :link_user => (link_to h(diary_comment.user.display_name), user_path(diary_comment.user)), :comment_created_at => link_to(l(diary_comment.created_at, :format => :friendly), :anchor => "comment#{diary_comment.id}"))) %> <% if current_user and diary_comment.user.id != current_user.id %> diff --git a/app/views/diary_entries/_diary_entry.html.erb b/app/views/diary_entries/_diary_entry.html.erb index 026ccee0e..5674a37b7 100644 --- a/app/views/diary_entries/_diary_entry.html.erb +++ b/app/views/diary_entries/_diary_entry.html.erb @@ -1,4 +1,4 @@ -

'> +
<% if !@user %> <%= user_thumbnail diary_entry.user %> -- 2.39.5