From 487ba3016ee01f92e6c3e05f77dcc44cdf66c2a9 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Tue, 10 Feb 2009 11:27:36 -0300 Subject: [PATCH] ActionItem911: added a contact button on friends listing --- app/views/friends/index.rhtml | 7 +++++++ 1 file changed, 7 insertions(+), 0 deletions(-) diff --git a/app/views/friends/index.rhtml b/app/views/friends/index.rhtml index fa2b19a..d0439cd 100644 --- a/app/views/friends/index.rhtml +++ b/app/views/friends/index.rhtml @@ -14,6 +14,13 @@ :title => _('remove'), :help => __('Clicking on this button will remove your friend relation with %s.') % friend.name %> +
+ <%= link_to content_tag('span',_('contact')), + friend.url.merge(:controller => 'contact', :action => 'new'), + :class => 'button icon-menu-mail', + :title => _('contact'), + :help => __('Clicking on this button will let you send a message to %s.') % friend.name %> +
<% end %> -- libgit2 0.21.2