X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/82a6bb0d5afb3013a1a91a84e129ebd5a0e7dc5f..74b91c0e3e53b4b8da8d7f759ecca67ff5c39a7b:/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 485cd3c44..29bd3e063 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" + ) %> + <%= body %>