|
|
@ -2,15 +2,18 @@
|
|
|
|
<h3><%= l(:label_x_user_fans, :count => User.current.watcher_users(User.current.id).count) %></h3>
|
|
|
|
<h3><%= l(:label_x_user_fans, :count => User.current.watcher_users(User.current.id).count) %></h3>
|
|
|
|
<div class="inf_user_image">
|
|
|
|
<div class="inf_user_image">
|
|
|
|
<% for user in @user.watcher_users %>
|
|
|
|
<% for user in @user.watcher_users %>
|
|
|
|
<ul class="list_watch"><li>
|
|
|
|
<ul class="list_watch">
|
|
|
|
|
|
|
|
<li>
|
|
|
|
<table width="660px" border="0" align="center">
|
|
|
|
<table width="660px" border="0" align="center">
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="2" valign="top" width="50"><%= link_to image_tag(url_to_avatar(user), :class => "avatar"),
|
|
|
|
<td colspan="2" valign="top" width="50"><%= link_to image_tag(url_to_avatar(user), :class => "avatar"),
|
|
|
|
user_path(user),
|
|
|
|
user_path(user),
|
|
|
|
:title => "#{user.name}" %></td>
|
|
|
|
:title => "#{user.name}" %></td>
|
|
|
|
<td><table width="580px" border="0">
|
|
|
|
<td>
|
|
|
|
|
|
|
|
<table width="580px" border="0">
|
|
|
|
<tr> <!-- modified by bai -->
|
|
|
|
<tr> <!-- modified by bai -->
|
|
|
|
<td colspan="2" valign="top"><strong><%= content_tag "div", link_to(user.name,user_path(user)), :class => "project_avatar_name" %>
|
|
|
|
<td colspan="2" valign="top">
|
|
|
|
|
|
|
|
<strong><%= content_tag "div", link_to(user.name, user_path(user)), :class => "project_avatar_name" %></strong>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
@ -26,6 +29,7 @@
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
<p class="font_description">
|
|
|
|
<p class="font_description">
|
|
|
|
<% unless user.memberships.empty? %>
|
|
|
|
<% unless user.memberships.empty? %>
|
|
|
|
<% cond = Project.visible_condition(User.current) + " AND projects.project_type = 1" %>
|
|
|
|
<% cond = Project.visible_condition(User.current) + " AND projects.project_type = 1" %>
|
|
|
@ -44,8 +48,11 @@
|
|
|
|
<td width="200" align="right" class="font_lighter"><%= l(:label_user_joinin) %><%= format_date(user.created_on) %>
|
|
|
|
<td width="200" align="right" class="font_lighter"><%= l(:label_user_joinin) %><%= format_date(user.created_on) %>
|
|
|
|
</td>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</table></td>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</table></li></ul>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|