X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e3e5ad4c5fed07eda993648f1998d9b0f5c78921..827123a8f681a04d8660619e035aef1cd1b2ee23:/app/views/notifier/_message_body.html.erb diff --git a/app/views/notifier/_message_body.html.erb b/app/views/notifier/_message_body.html.erb index 29ecf9ea8..d572fb9d0 100644 --- a/app/views/notifier/_message_body.html.erb +++ b/app/views/notifier/_message_body.html.erb @@ -1,17 +1,20 @@ -
+ | <%= link_to( - image_tag( - attachments["avatar.png"].url, - alt: @author, - title: @author - ), - user_url(@author, :host => SERVER_URL), - :target => "_blank" - ) %> + image_tag( + attachments["avatar.png"].url, + :alt => @author, + :title => @author, + :width => 50, + :height => 50, + :border => 0 + ), + user_url(@author), + :target => "_blank", :rel => "noopener" + ) %> | -+ | <%= body %> |