X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5a6c0eb49e5e24d9048472c75e2f82f567729050..a2ad08b2e213cfd56676bc8251147f25aef63984:/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 d66b31aae..d572fb9d0 100644 --- a/app/views/notifier/_message_body.html.erb +++ b/app/views/notifier/_message_body.html.erb @@ -1,20 +1,20 @@ - +
- -
+ <%= link_to( - image_tag( - attachments["avatar.png"].url, - alt: @author, - title: @author, - width: 50, - height: 50, - border: 0 - ), - 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 %>