#1699 公共贴吧--没有回复就不要显示“最后回复”了
This commit is contained in:
parent
66d8609c56
commit
f977a622a2
|
@ -174,8 +174,8 @@
|
|||
<%= link_to topic.author.login.truncate(10, omission: '...'),user_path(topic.author),title: topic.author.login %>
|
||||
</span>
|
||||
<span class="memo_last_person">
|
||||
<%= l(:label_final_reply)%>:
|
||||
<% unless (topic.last_reply.nil? || topic.last_reply.author.nil?) %>
|
||||
<%= l(:label_final_reply)%>:
|
||||
<%=link_to topic.last_reply.author.login.truncate(10, omission: '...'),user_path(topic.last_reply.author),title: topic.last_reply.author.login%>
|
||||
<% end %>
|
||||
</span>
|
||||
|
|
Loading…
Reference in New Issue