<%= profile_image(profile, :big) %>
<%= @message %>
<%= profile.description %>
<%= button_bar do %>
<% if @action == :join && logged_in? %>
<%= join_community_button({:logged => true}) %>
<% end %>
<% if @action == :add_friend && logged_in? && !user.already_request_friendship?(profile) %>
<%= button(:add, content_tag('span', _('Add friend')), profile.add_url, :class => 'add-friend', :title => _("Add friend"), :style => 'position: relative;') %>
<% end %>
<%= button :back, _('Go back'), :back %>
<%= button :home, _("Go to %s home page") % environment.name, :controller => 'home' %>
<% end %>