<% 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 => 'avatar2'), :class => "avatar" %> |
|
<%= l(:label_user_watcher) %> (<%=link_to User.watched_by(@user.id).count ,:controller=>"users", :action=>"user_watchlist"%>)
<%= l(:label_user_fans) %> (<%=link_to @user.watcher_users(@user.id).count, :controller=>"users", :action=>"user_fanslist" %>)
<%= 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') %> |
<%= render :partial => 'tags/tag', :locals => {:obj => @user,:object_flag => "1"}%>
<%= l(:label_user_watcher) %>
<% if show_more_watchers?(@user) %>
<%= link_to l(:label_more), :controller => "users", :action => "user_watchlist"%>
<% end %>
<%= show_watcher_profile(@user) %> |
<%= l(:label_user_fans) %>
<% if show_more_fans?(@user) %>
<%= link_to l(:label_more), :controller => "users", :action => "user_fanslist"%>
<% end %>
<%= show_fans_picture(@user) %> |