|
|
|
@ -47,12 +47,12 @@
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
<div id="praise_tread">
|
|
|
|
|
<%= render :partial => "/praise_tread/praise_tread",:locals => {:obj => @user,:show_flag => false,:user_id => User.current.id}%>
|
|
|
|
|
<div style="padding-left: 3px"><%= render :partial => "/praise_tread/praise_tread",:locals => {:obj => @user,:show_flag => false,:user_id => User.current.id}%></div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
<%= l(:label_user_watcher) %> (<strong class="font_small_watch"><%= User.watched_by(@user.id).count %></strong>)
|
|
|
|
|
<%= l(:label_user_fans) %> (<strong class="font_small_watch"><%= @user.watcher_users.count %></strong>)
|
|
|
|
|
<div style="padding-left: 2px">
|
|
|
|
|
<%= l(:label_user_watcher) %> (<strong class="font_small_watch"><%= link_to User.watched_by(@user.id).count, :controller=>"users",:action=>"user_watchlist" %></strong>)
|
|
|
|
|
<%= l(:label_user_fans) %> (<strong class="font_small_watch"><%= link_to @user.watcher_users.count,:controller=>"users",:action=>"user_fanslist" %></strong>)
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="user_underline"></div>
|
|
|
|
@ -60,13 +60,13 @@
|
|
|
|
|
<div class="inf_user_context">
|
|
|
|
|
<table style="font-family:微软雅黑">
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="font_lighter_sidebar"><%= l(:label_user_joinin) %></td><td><%= format_date(@user.created_on) %></td>
|
|
|
|
|
<td style="padding-left: 8px"><%= l(:label_user_joinin) %></td><td class="font_lighter_sidebar"><%= format_date(@user.created_on) %></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="font_lighter_sidebar"><%= l(:label_user_login) %></td><td><%= format_date(@user.last_login_on) %></td>
|
|
|
|
|
<td style="padding-left: 8px"><%= l(:label_user_login) %></td><td class="font_lighter_sidebar"><%= format_date(@user.last_login_on) %></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="font_lighter_sidebar"><%= l(:label_user_mail) %></td><td><%= mail_to(h(@user.mail), nil, :encode => 'javascript') %></td>
|
|
|
|
|
<td style="padding-left: 8px"><%= l(:label_user_mail) %></td><td class="font_lighter_sidebar"><%= mail_to(h(@user.mail), nil, :encode => 'javascript') %></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
@ -76,7 +76,7 @@
|
|
|
|
|
|
|
|
|
|
<div class="user_fans">
|
|
|
|
|
<div class="font_title_left">
|
|
|
|
|
<strong><%= l(:label_user_watcher) %>(<%= link_to User.watched_by(@user.id).count, :controller=>"users",:action=>"user_watchlist" %>)</strong>
|
|
|
|
|
<strong><%= l(:label_user_watcher) %></strong>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="left_wf">
|
|
|
|
@ -93,7 +93,7 @@
|
|
|
|
|
<!--fans-->
|
|
|
|
|
<div class="user_fans">
|
|
|
|
|
<div class="font_title_left">
|
|
|
|
|
<strong><%= l(:label_user_fans) %>(<%= link_to @user.watcher_users.count,:controller=>"users",:action=>"user_fanslist" %>)</strong>
|
|
|
|
|
<strong><%= l(:label_user_fans) %></strong>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="left_wf">
|
|
|
|
|
<table>
|
|
|
|
|