X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/68a40023668ff9af00cd30987015330d2311bd29..c82fdf8e0fd4e5a8f2d831592d5e1fe13e1fe558:/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 6fa6c8c84..b3b0eb687 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 %>