<% if @user == User.current %>
<%= render_menu :user_menu_self %>
<%else%>
<%= render_menu :user_menu %>
<%end%>
<%= yield %>
<%= call_hook :view_layouts_base_content %>
<%= render_flash_messages %>
<%= link_to image_tag(url_to_avatar(@user), :class => 'avatar'), :class => "avatar" %> |
|
<%= l(:label_user_watcher) %> (<%= User.watched_by(@user.id).count %>)
<%= render :partial => "watchers/fans_num",:locals => {:fans_num => get_fans_num(@user) }%>
<%= l(:label_user_joinin) %> | <%= format_date(@user.created_on) %> |
<%= l(:label_user_login) %> | <%= format_date(@user.last_login_on) %> |
<%= l(:label_user_mail) %> | <%= mail_to(h(@user.mail), nil, :encode => 'javascript') %> |
<%= l(:label_user_watcher) %>
<%= show_watcher_profile(@user) %> |
<%= l(:label_user_fans) %>
<%= show_fans_picture(@user) %> |