From: Anton Khorev Date: Tue, 5 Sep 2023 08:50:58 +0000 (+0300) Subject: Mute hidden comment text in each table cell X-Git-Tag: live~1244^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/728ad161c425aea26db14497c04177051be0f382 Mute hidden comment text in each table cell --- diff --git a/app/views/diary_entries/comments.html.erb b/app/views/diary_entries/comments.html.erb index e3a7ff23e..0d6ddfb01 100644 --- a/app/views/diary_entries/comments.html.erb +++ b/app/views/diary_entries/comments.html.erb @@ -16,10 +16,10 @@ <% @comments.each do |comment| -%> - "> - <%= link_to comment.diary_entry.title, diary_entry_path(comment.diary_entry.user, comment.diary_entry) %> - <%= time_ago_in_words(comment.created_at, :scope => :"datetime.distance_in_words_ago") %> - <%= comment.body.to_html %> + + "><%= link_to comment.diary_entry.title, diary_entry_path(comment.diary_entry.user, comment.diary_entry) %> + "><%= time_ago_in_words(comment.created_at, :scope => :"datetime.distance_in_words_ago") %> + "><%= comment.body.to_html %> <% end -%>