|
|
|
@ -1,3 +1,4 @@
|
|
|
|
|
<% show_real_name ||= false %>
|
|
|
|
|
<% reply_allow = JournalsForMessage.create_by_user? User.current %>
|
|
|
|
|
<% ids_r = 'reply_respond_form_'+ reply.id.to_s %>
|
|
|
|
|
<div class="recall" id='word_li_<%=reply.id.to_s%>' onmouseover="$('#<%= ids_r %>').show()" onmouseout="$('#<%= ids_r %>').hide()">
|
|
|
|
@ -12,8 +13,13 @@
|
|
|
|
|
<% id = 'project_respond_form_'+ reply.id.to_s %>
|
|
|
|
|
<%= link_to reply.user.name, user_path(reply.user) %>
|
|
|
|
|
回复
|
|
|
|
|
<% if show_name %>
|
|
|
|
|
<%= link_to reply.at_user.name,user_path(reply.at_user) %>
|
|
|
|
|
<% parent_jour = JournalsForMessage.find reply.m_reply_id %>
|
|
|
|
|
<% if show_name && parent_jour %>
|
|
|
|
|
<% if show_real_name%>
|
|
|
|
|
<%= link_to parent_jour.user.lastname+parent_jour.user.firstname, user_path(parent_jour.user) %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= link_to parent_jour.user.name, user_path(parent_jour.user) %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= l(:label_anonymous) %>
|
|
|
|
|
<% end %>
|
|
|
|
|