X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cf11913d586bf9c25f003f4acd3b114367fa4aa9..4ab70b63c391c11f4eb9e914507662629c257c7e:/app/views/notifier/_message_body.html.erb?ds=sidebyside diff --git a/app/views/notifier/_message_body.html.erb b/app/views/notifier/_message_body.html.erb index 723bb84e5..d572fb9d0 100644 --- a/app/views/notifier/_message_body.html.erb +++ b/app/views/notifier/_message_body.html.erb @@ -1,19 +1,20 @@ -
+ | <%= link_to( - image_tag( - attachments["avatar.png"].url, - alt: @author, - title: @author, - width: 50, - height: 50 - ), - 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 %> |