个人动态,判断留言人逻辑有误
This commit is contained in:
parent
ff8994fc9d
commit
d54f37e630
|
@ -50,7 +50,7 @@
|
||||||
<table width="580" border="0" class="info-break">
|
<table width="580" border="0" class="info-break">
|
||||||
<% case e.act_type %>
|
<% case e.act_type %>
|
||||||
<% when 'JournalsForMessage' %>
|
<% when 'JournalsForMessage' %>
|
||||||
<% if User.current.login == @user.login %>
|
<% if User.current.login == e.user.try(:login) %>
|
||||||
<%# if e.user_id == act.jour.id %>
|
<%# if e.user_id == act.jour.id %>
|
||||||
<tr><td colspan="2" valign="top"><strong><%= link_to("#{l(:label_i)}", user_path(e.user_id)) %></strong> <span class="font_lighter"><%= l(:label_have_feedback) %><%=
|
<tr><td colspan="2" valign="top"><strong><%= link_to("#{l(:label_i)}", user_path(e.user_id)) %></strong> <span class="font_lighter"><%= l(:label_have_feedback) %><%=
|
||||||
link_to("#{e.act.user.name}", user_path(e.act.user.id)) %><%= l(:label_of_feedback) + l(:label_layouts_feedback) %></span></td></tr>
|
link_to("#{e.act.user.name}", user_path(e.act.user.id)) %><%= l(:label_of_feedback) + l(:label_layouts_feedback) %></span></td></tr>
|
||||||
|
|
Loading…
Reference in New Issue