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