修改作业提示信息,在前面统一加上“某某您好!”
This commit is contained in:
parent
ec1eddbf07
commit
50abd3785a
|
@ -296,6 +296,10 @@
|
||||||
:onmouseover =>"message_titile_show($(this),event)",
|
:onmouseover =>"message_titile_show($(this),event)",
|
||||||
:onmouseout => "message_titile_hide($(this))" %></a></li>
|
:onmouseout => "message_titile_hide($(this))" %></a></li>
|
||||||
<div style="display: none" class="message_title_red system_message_style" >
|
<div style="display: none" class="message_title_red system_message_style" >
|
||||||
|
<p>
|
||||||
|
<%= User.current.show_name %>同学您好!
|
||||||
|
<%= ma.course_message.reviewer_role == 3? "匿名用户" : (ma.course_message.user.show_name + "老师")%><%= ma.status == 0? "评阅了您的作品":"重新评阅了您的作品"%>。详情如下:
|
||||||
|
</p>
|
||||||
<p>课程名称:<%= ma.course.name %>(<%= ma.course.time.to_s + '年'+ ma.course.term %>)</p>
|
<p>课程名称:<%= ma.course.name %>(<%= ma.course.time.to_s + '年'+ ma.course.term %>)</p>
|
||||||
<p>作业标题:<span style="color:Red;"><%=ma.course_message.student_work.homework_common.name %></span></p>
|
<p>作业标题:<span style="color:Red;"><%=ma.course_message.student_work.homework_common.name %></span></p>
|
||||||
<% content = ma.content.gsub("作业评分:","").split(" 评语:")%>
|
<% content = ma.content.gsub("作业评分:","").split(" 评语:")%>
|
||||||
|
@ -356,8 +360,10 @@
|
||||||
:onmouseout => "message_titile_hide($(this))" %></a>
|
:onmouseout => "message_titile_hide($(this))" %></a>
|
||||||
</li>
|
</li>
|
||||||
<div style="display: none" class="message_title_red system_message_style">
|
<div style="display: none" class="message_title_red system_message_style">
|
||||||
<div class="fl">回复人:</div>
|
<p>
|
||||||
<div class="ml36"><%= ma.course_message.user.show_name %></div>
|
<%= User.current.show_name %>老师您好!
|
||||||
|
<%= ma.course_message.user.show_name%><%= ma.course_message.user.allowed_to?(:as_teacher, ma.course)?"老师":"学生"%>回复了您的作品评论。详情如下:
|
||||||
|
</p>
|
||||||
<div class="fl">回复内容:</div>
|
<div class="fl">回复内容:</div>
|
||||||
<div class="ml60"><%= ma.course_message.notes %></div>
|
<div class="ml60"><%= ma.course_message.notes %></div>
|
||||||
<div class="fl">您的评论:</div>
|
<div class="fl">您的评论:</div>
|
||||||
|
|
Loading…
Reference in New Issue