|
|
|
@ -27,6 +27,27 @@
|
|
|
|
|
<td>
|
|
|
|
|
<table width="580" border="0" class "info-break">
|
|
|
|
|
<% case e.act_type %>
|
|
|
|
|
<% when 'JournalsForMessage' %>
|
|
|
|
|
<% if User.current.login == @user.login %>
|
|
|
|
|
<% if e.user_id == act.jour.id %>
|
|
|
|
|
<tr><td colspan="2" valign="top"><strong><%= link_to("#{e.user.show_name}", user_path(e.user_id)) %></strong> <span class="font_lighter">给你留言了</td></tr>
|
|
|
|
|
<% else %>
|
|
|
|
|
<tr><td colspan="2" valign="top" class="font_lighter"><strong><%= link_to("#{e.user.show_name}", user_path(e.user_id)) %> 给 <%= link_to("#{act.jour.show_name}", user_path(act.jour.id)) %> 留言了</strong> <span class="font_lighter"></td></tr>
|
|
|
|
|
|
|
|
|
|
<% end %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<tr><td colspan="2" valign="top"><strong><%= link_to("#{@user.show_name}", user_path(e.user_id)) %></strong> <span class="font_lighter">有了新的动态</td></tr>
|
|
|
|
|
<% end %>
|
|
|
|
|
<!-- end -->
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="2" width="580" >
|
|
|
|
|
<p class="font_description">
|
|
|
|
|
<%=link_to act.notes, user_path(e.user_id) %>
|
|
|
|
|
</p></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>
|
|
|
|
|
<div style="display: inline-block; float: right; margin-top: 0px"></div>
|
|
|
|
|
<% when 'Bid' %>
|
|
|
|
|
<tr>
|
|
|
|
|
<% if act.reward_type ==3 %>
|
|
|
|
|