Merge branch 'cxt_course' into 'develop'
非匿评阶段应看到评语回复的用户名 See merge request !44
This commit is contained in:
commit
c89f15b97f
|
@ -34,7 +34,7 @@
|
||||||
|
|
||||||
<div id="replay_histroy_<%= score.id%>">
|
<div id="replay_histroy_<%= score.id%>">
|
||||||
<% score.journals_for_messages.order("created_on desc").each do |jour|%>
|
<% score.journals_for_messages.order("created_on desc").each do |jour|%>
|
||||||
<% show_real_name = @is_teacher || score.reviewer_role != 3 %>
|
<% show_real_name = @is_teacher || score.reviewer_role != 3 || @homework.homework_detail_manual.comment_status != 2 %>
|
||||||
<%= render :partial => 'jour_replay',:locals => {:jour => jour, :show_real_name => show_real_name || jour.user == User.current}%>
|
<%= render :partial => 'jour_replay',:locals => {:jour => jour, :show_real_name => show_real_name || jour.user == User.current}%>
|
||||||
<% end%>
|
<% end%>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue