Commit 487ba3016ee01f92e6c3e05f77dcc44cdf66c2a9
1 parent
e6f846c0
Exists in
master
and in
23 other branches
ActionItem911: added a contact button on friends listing
Showing
1 changed file
with
7 additions
and
0 deletions
Show diff stats
app/views/friends/index.rhtml
@@ -14,6 +14,13 @@ | @@ -14,6 +14,13 @@ | ||
14 | :title => _('remove'), | 14 | :title => _('remove'), |
15 | :help => __('Clicking on this button will remove your friend relation with %s.') % friend.name %> | 15 | :help => __('Clicking on this button will remove your friend relation with %s.') % friend.name %> |
16 | </div><!-- end class="controll" --> | 16 | </div><!-- end class="controll" --> |
17 | + <div style='text-align: center; margin-top: 3px;'> | ||
18 | + <%= link_to content_tag('span',_('contact')), | ||
19 | + friend.url.merge(:controller => 'contact', :action => 'new'), | ||
20 | + :class => 'button icon-menu-mail', | ||
21 | + :title => _('contact'), | ||
22 | + :help => __('Clicking on this button will let you send a message to %s.') % friend.name %> | ||
23 | + </div> | ||
17 | </li> | 24 | </li> |
18 | <% end %> | 25 | <% end %> |
19 | </ul> | 26 | </ul> |