<%= __("%s's friends") % profile.name %>

<% cache_timeout(profile.friends_cache_key(params), 4.hours.from_now) do %>
<%= pagination_links @friends, :param_name => 'npage' %>
<% end %> <% button_bar do %> <%= button :back, _('Go back'), { :controller => 'profile' } %> <% if user == profile %> <%= button :edit, _('Manage my friends'), :controller => 'friends', :action => 'index', :profile => profile.identifier %> <%= button(:search, _('Invite people from my e-mail contacts'), :controller => 'invite', :action => 'select_address_book') %> <% end %> <% end %>