From: Anton Khorev Date: Fri, 10 Jun 2022 14:22:15 +0000 (+0300) Subject: Margins for 'comment from' / 'reported by' lines on issues page X-Git-Tag: live~1622^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/95fa01c8f8d2bf2727c0322be53488bd288357c4 Margins for 'comment from' / 'reported by' lines on issues page --- diff --git a/app/views/issues/_comments.html.erb b/app/views/issues/_comments.html.erb index 709080f9c..9c5695e0a 100644 --- a/app/views/issues/_comments.html.erb +++ b/app/views/issues/_comments.html.erb @@ -5,7 +5,7 @@ <%= link_to user_thumbnail(comment.user), user_path(comment.user) %>
-

+

<%= t ".comment_from_html", :user_link => link_to(comment.user.display_name, user_path(comment.user)), :comment_created_at => l(comment.created_at.to_datetime, :format => :friendly) %>

diff --git a/app/views/issues/_reports.html.erb b/app/views/issues/_reports.html.erb index c995358d3..d11bca0a9 100644 --- a/app/views/issues/_reports.html.erb +++ b/app/views/issues/_reports.html.erb @@ -4,7 +4,7 @@ <%= link_to user_thumbnail(report.user), user_path(report.user) %>
-

+

<%= t ".reported_by_html", :category => report.category, :user => link_to(report.user.display_name, user_path(report.user)), :updated_at => l(report.updated_at.to_datetime, :format => :friendly) %>