<%= _("%s's members") % profile.name %>
<% cache_timeout(profile.members_cache_key(params), 4.hours) do %>
<% @members.each do |member| %>
<%= profile_image_link(member) %>
<% end %>
<% end %>
<% button_bar do %>
<%= button :back, _('Go back'), { :controller => 'profile' } %>
<% if profile.community? and user %>
<% if user.has_permission?(:invite_members, profile) %>
<%= button :search, _('Invite your friends to join %s') % profile.name, :controller => 'invite', :action => 'select_address_book' %>
<% end %>
<% if user.has_permission?(:send_mail_to_members, profile) %>
<%= button :send, _('Send e-mail to members'), :controller => 'profile', :action => 'send_mail' %>
<% end %>
<% end %>
<% end %>