From 2118dd06afda62a72278985d91c057aaeaa0e150 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Mon, 14 Sep 2009 19:32:29 +0000 Subject: [PATCH] Link to username in "Send message to" message --- app/views/message/new.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' %> -- 2.39.5