From: Ævar Arnfjörð Bjarmason Date: Mon, 14 Sep 2009 19:32:29 +0000 (+0000) Subject: Link to username in "Send message to" message X-Git-Tag: live~7227 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/2118dd06afda62a72278985d91c057aaeaa0e150 Link to username in "Send message to" message --- diff --git a/app/views/message/new.html.erb b/app/views/message/new.html.erb index 9ae756f83..151cd2759 100644 --- a/app/views/message/new.html.erb +++ b/app/views/message/new.html.erb @@ -1,4 +1,4 @@ -

<%= t'message.new.send_message_to', :name => h(@to_user.display_name) %>

+

<%= t'message.new.send_message_to', :name => link_to(h(@to_user.display_name), {:controller => 'user', :action => 'view', :display_name => @to_user.display_name}) %>

<%= error_messages_for 'message' %>