<%= render :partial => 'shared/disabled_enterprise' %>

<%= h profile.name %>

<% if @action %> <%= render :partial => 'private_profile' %> <% else %> <% unless profile.description.blank? %>
<%= profile.description %>
<% end %> <% end %> <%= render :partial => partial_for_class(profile.class) %> <% unless @action %> <% cache_timeout(profile.cache_key + '-profile-general-info', 4.hours.from_now) do %> <% profile.blogs.each do |blog| %> <% end %> <% profile.image_galleries.each do |gallery| %> <% end %> <% if !environment.enabled?('disable_categories') && !profile.interests.empty? %> <% profile.interests.each do |item| %> <% end %> <% end %> <% end %> <% end %>
<%= _('Content') %>
<%= blog.name + ':' %> <%= link_to(n_('One post', '%{num} posts', blog.posts.published.count) % { :num => blog.posts.published.count }, blog.url) %>
<%= gallery.name + ':' %> <%= link_to(n_('One picture', '%{num} pictures', gallery.images.published.count) % { :num => gallery.images.published.count }, gallery.url) %>
<%= _('Events:') %> <%= link_to profile.events.published.count, :controller => 'events', :action => 'events' %>
<%= _('Tags:') %> <%= tag_cloud @tags, :id, { :action => 'tags' }, :max_size => 18, :min_size => 10%>
<%= _('Interests') %>
<%= link_to item.name, :controller => 'search', :action => 'category_index', :category_path => item.explode_path %>