修复点击时间后弹出的头像不正确的BUG

This commit is contained in:
sw 2014-10-23 17:14:35 +08:00
parent b25b5a9a45
commit ab42f918ad
1 changed files with 3 additions and 4 deletions

View File

@ -1,9 +1,7 @@
<h3><%= @author.nil? ? l(:label_activity) : l(:label_user_activity, link_to_user(@author)).html_safe %></h3>
<p class="subtitle">
<%= l(:label_date_from_to, :start => format_date(@date_to - @days), :end => format_date(@date_to-1)) %>
</p>
</p>
<div id="activity">
<% @events_by_day.keys.sort.reverse.each do |day| %>
<h3></h3>
@ -13,7 +11,8 @@
<table width="660px" border="0" align="center">
<tr>
<td colspan="2" valign="top" width="50" >
<img src="/images/new/user.jpg" width="40" height="40"/>
<!--img src="/images/new/user.jpg" width="40" height="40"/-->
<%= image_tag(url_to_avatar(e.event_author), :class => "avatar") %>
</td>
<td>
<table width="580px" border="0">