bid图片显示名字

This commit is contained in:
nieguanghui 2013-08-17 10:57:58 +08:00
parent 647781effa
commit ffbef4fbb7
1 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@
<tr>
<td style="padding-top: 5px">
<% for user in @bid.watcher_users%>
<%= link_to image_tag(url_to_avatar(user), :class => "avatar"), user_path(user), :class => "avatar" %>
<%= link_to image_tag(url_to_avatar(user), :class => "avatar", :title => user.name ), user_path(user), :class => "avatar" %>
<% end%>
</td>
</tr>
@ -100,7 +100,7 @@
<tr>
<td style="padding-top: 5px">
<% for project in @bid.projects%>
<%= link_to image_tag(url_to_avatar(project), :class => "avatar"), project_path(project), :class => "avatar" %>
<%= link_to image_tag(url_to_avatar(project), :class => "avatar", :title => project.name), project_path(project), :class => "avatar" %>
<% end%></td>
</tr>
</table>