Fix erblint warnings
authorTom Hughes <tom@compton.nu>
Thu, 6 Jun 2019 17:20:21 +0000 (18:20 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 6 Jun 2019 17:20:21 +0000 (18:20 +0100)
app/views/diary_entries/_diary_comment.html.erb
app/views/diary_entries/_diary_entry.html.erb

index 7742069a45f159f422980ec05d0fd25c165ef1f6..301739eef9cf3ffe19d4b5fd0d0868198772c840 100644 (file)
@@ -1,4 +1,4 @@
-<div class="clearfix diary-comment<%= ' deemphasize' unless diary_comment.visible? %>">
+<div class="clearfix diary-comment<%= " deemphasize" unless diary_comment.visible? %>">
   <%= user_thumbnail diary_comment.user %>
   <p class="deemphasize comment-heading" id="comment<%= diary_comment.id %>"><%= 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 %>
index 026ccee0e2b5158d640446ca6732407143739af5..5674a37b7c4d70f9b0041de822baf5b6ea92fce9 100644 (file)
@@ -1,4 +1,4 @@
-<div class='diary_post<%= ' deemphasize' unless diary_entry.visible %>'>
+<div class='diary_post<%= " deemphasize" unless diary_entry.visible %>'>
   <div class='post_heading clearfix'>
     <% if !@user %>
       <%= user_thumbnail diary_entry.user %>