注释无用代码
This commit is contained in:
parent
90bd3bad58
commit
418f75fd1f
|
@ -1,30 +1,32 @@
|
|||
<div class="inf_user_image">
|
||||
<% for user in @bid.watcher_users %>
|
||||
<ul class="list_watch"><li>
|
||||
<table width="660px" border="0" align="center">
|
||||
<tr>
|
||||
<td colspan="2" valign="top" width="50" ><%= image_tag(url_to_avatar(user), :class => "avatar") %></td>
|
||||
<td><table width="580px" border="0">
|
||||
<tr>
|
||||
<td colspan="2" valign="top"><strong><%= content_tag "div", link_to_user(user), :class => "project_avatar_name" %>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" width="580px" ><p class="font_description">
|
||||
<% unless user.memberships.empty? %>
|
||||
<%= l(:label_x_contribute_to, :count => user.memberships.count) %>
|
||||
<% for member in user.memberships %>
|
||||
<%= link_to_project(member.project) %><%= (user.memberships.last == member) ? '' : ',' %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="200" align="right" class="font_lighter"><%= l(:label_user_joinin) %><%= format_date(user.created_on) %>
|
||||
</td>
|
||||
</tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
</table></li></ul>
|
||||
<% end %>
|
||||
</div>
|
||||
<!--<div class="inf_user_image">-->
|
||||
<!--<% for user in @bid.watcher_users %>-->
|
||||
<!--<ul class="list_watch"><li>-->
|
||||
<!--<table width="660px" border="0" align="center">-->
|
||||
<!--<tr>-->
|
||||
<!--<td colspan="2" valign="top" width="50" ><%= image_tag(url_to_avatar(user), :class => "avatar") %></td>-->
|
||||
<!--<td><table width="580px" border="0">-->
|
||||
<!--<tr>-->
|
||||
<!--<td colspan="2" valign="top"><strong>-->
|
||||
<%#= content_tag "div", link_to_user(user), :class => "project_avatar_name" %>
|
||||
<!--</td>-->
|
||||
<!--</tr>-->
|
||||
<!--<tr>-->
|
||||
<!--<td colspan="2" width="580px" ><p class="font_description">-->
|
||||
<!--<% unless user.memberships.empty? %>-->
|
||||
<!--<%= l(:label_x_contribute_to, :count => user.memberships.count) %>-->
|
||||
<!--<% for member in user.memberships %>-->
|
||||
<!--<%= link_to_project(member.project) %><%= (user.memberships.last == member) ? '' : ',' %>-->
|
||||
<!--<% end %>-->
|
||||
<!--<% end %>-->
|
||||
<!--</p></td>-->
|
||||
<!--</tr>-->
|
||||
<!--<tr> -->
|
||||
<!--<td width="200" align="right" class="font_lighter">-->
|
||||
<%#= l(:label_user_joinin) %><%#= format_date(user.created_on) %>
|
||||
<!--</td>-->
|
||||
<!--</tr>-->
|
||||
<!--</table></td>-->
|
||||
<!--</tr>-->
|
||||
<!--</table></li></ul>-->
|
||||
<!--<% end %>-->
|
||||
<!--</div>-->
|
Loading…
Reference in New Issue