X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/25d80789dda4d989f5b5e168ddd05a20d11c183b..9508368d37fe6e9d54a2d51ed8d886261ec4a9e9:/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 a108643ce..d572fb9d0 100644 --- a/app/views/notifier/_message_body.html.erb +++ b/app/views/notifier/_message_body.html.erb @@ -1,23 +1,20 @@ -
- <%# Some email clients (e.g. Yahoo as of 2017-01) remove the margin
- on tags. Since the body itself always starts with a , by - wrapping the image here in a as well, we ensure that they will at - least always be aligned with each other. %> - - <%= link_to( + | + <%= link_to( image_tag( attachments["avatar.png"].url, - alt: @author, - title: @author + :alt => @author, + :title => @author, + :width => 50, + :height => 50, + :border => 0 ), - user_url(@author, :host => SERVER_URL), - :target => "_blank" - ) %> - + user_url(@author), + :target => "_blank", :rel => "noopener" + ) %> | -+ | <%= body %> |