注释无用代码

This commit is contained in:
sw 2015-06-12 16:43:52 +08:00
parent 90bd3bad58
commit 418f75fd1f
1 changed files with 32 additions and 30 deletions

View File

@ -1,30 +1,32 @@
<div class="inf_user_image"> <!--<div class="inf_user_image">-->
<% for user in @bid.watcher_users %> <!--<% for user in @bid.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" ><%= image_tag(url_to_avatar(user), :class => "avatar") %></td> <!--<td colspan="2" valign="top" width="50" ><%= image_tag(url_to_avatar(user), :class => "avatar") %></td>-->
<td><table width="580px" border="0"> <!--<td><table width="580px" border="0">-->
<tr> <!--<tr>-->
<td colspan="2" valign="top"><strong><%= content_tag "div", link_to_user(user), :class => "project_avatar_name" %> <!--<td colspan="2" valign="top"><strong>-->
</td> <%#= content_tag "div", link_to_user(user), :class => "project_avatar_name" %>
</tr> <!--</td>-->
<tr> <!--</tr>-->
<td colspan="2" width="580px" ><p class="font_description"> <!--<tr>-->
<% unless user.memberships.empty? %> <!--<td colspan="2" width="580px" ><p class="font_description">-->
<%= l(:label_x_contribute_to, :count => user.memberships.count) %> <!--<% unless user.memberships.empty? %>-->
<% for member in user.memberships %> <!--<%= l(:label_x_contribute_to, :count => user.memberships.count) %>-->
<%= link_to_project(member.project) %><%= (user.memberships.last == member) ? '' : '' %> <!--<% for member in user.memberships %>-->
<% end %> <!--<%= link_to_project(member.project) %><%= (user.memberships.last == member) ? '' : '' %>-->
<% end %> <!--<% end %>-->
</p></td> <!--<% end %>-->
</tr> <!--</p></td>-->
<tr> <!--</tr>-->
<td width="200" align="right" class="font_lighter"><%= l(:label_user_joinin) %><%= format_date(user.created_on) %> <!--<tr> -->
</td> <!--<td width="200" align="right" class="font_lighter">-->
</tr> <%#= l(:label_user_joinin) %><%#= format_date(user.created_on) %>
</table></td> <!--</td>-->
</tr> <!--</tr>-->
</table></li></ul> <!--</table></td>-->
<% end %> <!--</tr>-->
</div> <!--</table></li></ul>-->
<!--<% end %>-->
<!--</div>-->