X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/e3e5ad4c5fed07eda993648f1998d9b0f5c78921..68a5aa5ed805c97f217fa09f869179c3544a8d63:/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 29ecf9ea8..b3b0eb687 100644 --- a/app/views/notifier/_message_body.html.erb +++ b/app/views/notifier/_message_body.html.erb @@ -1,17 +1,20 @@ - +
- -
+ <%= link_to( - image_tag( - attachments["avatar.png"].url, - alt: @author, - title: @author - ), - 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 %>