X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cf11913d586bf9c25f003f4acd3b114367fa4aa9..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 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 %>