<!-- fq -->
<% unless @message.empty? %>
<div id="activity">
	<% @message.sort {|x,y| y.created_at <=> x.created_at }.each do |e| -%>
	<table width="660" border="0" align="left" style="border-bottom:  1px solid rgb(225, 225, 225); margin-bottom: 10px;">
		<tr>
			<!-- fq -->
			<td colspan="2" valign="top" width="50" ><%= link_to image_tag(url_to_avatar(e.user), :class => "avatar"), user_path(e.user), :class => "avatar" %></td>
			<td>
			<table width="580" border="0">
				<tr>
					<td colspan="2" valign="top"><strong> <%= link_to(h(e.user), user_path(e.user)) %></strong><span class="font_lighter">
						<% if e.jour_type == "Bid"%>
							对需求：<%= link_to(e.jour.name, respond_path(e.jour))%>进行了反馈
						<% elsif e.jour_type == 'Principal' %>
							对<%= link_to("我", user_path(e.jour))%>的话进行了引用
						<% end %>						
						</span></td>
				</tr>
				<tr>
					<td colspan="2" width="580" >
					<p class="font_description">
						<%= textilizable e.notes %>
					</p></td>
				</tr>
				<tr>
					<td align="left"><a class="font_lighter"></a></td>
					<td width="200" align="right" class="a"><span class="font_lighter"><%= format_time e.created_at %></span></td>
				</tr>
				<!-- <tr><div class="line_under"></div></tr>   -->
			</table></td>
		</tr>
	</table>
	<% end %>
</div>
<% end %>
