班级留言回复中用户头像建议加链接返回该用户主页

This commit is contained in:
cxt 2016-11-10 17:12:04 +08:00
parent 070e18a9b2
commit 6cc38ee51e
1 changed files with 4 additions and 4 deletions

View File

@ -4,14 +4,14 @@
<% 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()">
<div class="recall_head">
<div class="fl">
<% if show_name %>
<%= image_tag url_to_avatar(reply.user),:width => '30',:height => '30' %>
<%= link_to image_tag(url_to_avatar(reply.user),:width => '30',:height => '30'), user_path(reply.user) %>
<% else %>
<%= image_tag url_to_avatar(nil),:width => '30',:height => '30' %>
<%= link_to image_tag(url_to_avatar(nil),:width => '30',:height => '30'), user_path(reply.user) %>
<% end %>
</div>
<div class="recall_con f14" style="width:630px;">
<div class="recall_con f14 fl" style="width:630px;">
<% id = 'project_respond_form_'+ reply.id.to_s %>
<%= link_to reply.user.show_name, user_path(reply.user) %>
<%= l(:label_reply_to)%>