ref: master
app/views/profile/_private_profile.html.erb
<%= profile_image(profile, :big) %><%= 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").html_safe % environment.name, :controller => 'home' %> <% end %>