<%= _('Basic information')%> |
<%= display_field(_('Sex:'), profile, :sex) { |gender| { 'male' => _('Male'), 'female' => _('Female') }[gender] } %>
<%= display_field(_('Date of birth:'), profile, :birth_date) { |date| show_date(date) }%>
<%= display_field _('Location:'), profile, :location %>
<%= display_field(_('Type:'), profile, :privacy_setting, true) %>
<%= _('Profile created at:') %> |
<%= show_date(profile.created_at) %> |
<%= display_contact profile %>
<% cache_timeout(profile.relationships_cache_key, 4.hours) do %>
<%= display_work_info profile %>
<%= _('Network')%> |
<%= _('Friends') + ':' %> |
<%= link_to profile.friends.count, { :controller => 'profile', :action => 'friends' } %> |
<%= _('Communities') + ':' %> |
<%= link_to profile.communities.count, :controller => "profile", :action => 'communities' %> |
<% if environment.disabled?('disable_asset_enterprises') %>
<%= _('Enterprises') + ':' %> |
<%= link_to profile.enterprises.count, :controller => "profile", :action => 'enterprises' %> |
<% end %>
<%= render :partial => 'common' %>
<% end %>