|
|
|
@ -6,9 +6,9 @@
|
|
|
|
|
<li>
|
|
|
|
|
<table width="660px" border="0" align="center">
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="2" valign="top" width="50"><%= link_to image_tag(url_to_avatar(user), :class => "avatar"),
|
|
|
|
|
user_path(user),
|
|
|
|
|
:title => "#{user.name}" %></td>
|
|
|
|
|
<td colspan="2" valign="top" width="50">
|
|
|
|
|
<%= link_to image_tag(url_to_avatar(user), :class => "avatar"),user_path(user),:title => "#{user.name}" %>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<table width="580px" border="0">
|
|
|
|
|
<tr> <!-- modified by bai -->
|
|
|
|
@ -27,6 +27,8 @@
|
|
|
|
|
<% for member in memberships %>
|
|
|
|
|
<%= link_to_project(member.project) %><%= (user.memberships.last == member) ? '' : ',' %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= l(:label_x_contribute_to, :count => 0) %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
@ -38,6 +40,8 @@
|
|
|
|
|
<% for member in memberships %>
|
|
|
|
|
<%= link_to_project(member.project) %><%= (user.memberships.last == member) ? '' : ',' %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= l(:label_x_course_contribute_to, :count => 0) %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</p>
|
|
|
|
|
</td>
|
|
|
|
|