diff --git a/app/views/users/user_messages.html.erb b/app/views/users/user_messages.html.erb
index 916493561..c4382a145 100644
--- a/app/views/users/user_messages.html.erb
+++ b/app/views/users/user_messages.html.erb
@@ -148,7 +148,7 @@
- <%=link_to image_tag(url_to_avatar(ma.course_message.user), :width => "30", :height => "30"), user_path(ma.course_message.user) %>
- <%=link_to ma.course_message.user, user_path(ma.course_message.user), :class => "newsBlue homepageNewsPublisher" %>">发布的作业:
- <% if ma.viewed == 0 %>
- -
- <%= link_to ma.course_message.name, student_work_index_path(:homework => ma.course_message.id),
- :class =>"#{ma.viewed == 0 ? "newsBlack" : "newsGrey"}",
- :onmouseover =>"message_titile_show($(this),event)",
- :onmouseout => "message_titile_hide($(this))" %>
-
-
- <% if User.current.members.where("course_id = ?", ma.course_message.course.id).first.roles.first.name == 'Student' %>
-
您好!<%= ma.course_message.user.lastname + ma.course_message.user.firstname %>老师刚刚发布了一个作业,详情如下:
-
课程:<%= ma.course_message.course.name %>
- (<%= ma.course_message.course.term %>)
-
作业标题:<%= ma.course_message.name %>
- <% unless ma.course_message.description.blank? %>
-
作业内容:
-
<%= ma.course_message.description.html_safe %>
- <% end %>
-
作业提交截止日期:<%= ma.course_message.end_time %>
-
匿评自动关闭日期:<%= ma.course_message.homework_detail_manual.evaluation_end %>
-
迟交扣分:<%= ma.course_message.late_penalty %>分
-
- 请同学们抓紧时间提交自己的作品,谢谢!
-
- <% else %>
-
您好!<%= ma.course_message.user.lastname + ma.course_message.user.firstname %>老师刚刚发布了一个作业,详情如下:
-
课程:<%= ma.course_message.course.name %>
- (<%= ma.course_message.course.term %>)
-
作业标题:<%= ma.course_message.name %>
- <% unless ma.course_message.description.blank? %>
-
作业内容:
-
<%= ma.course_message.description.html_safe %>
- <% end %>
-
作业提交截止日期:<%= ma.course_message.end_time %>
-
匿评自动开始日期:<%= ma.course_message.homework_detail_manual.evaluation_start %>
-
匿评自动关闭日期:<%= ma.course_message.homework_detail_manual.evaluation_end %>
-
迟交扣分:<%= ma.course_message.late_penalty %>分
-
缺评扣分:<%= ma.course_message.homework_detail_manual.absence_penalty %>分
-
- 您可以修改作业内容、评分规则、匿评过程等,谢谢!
-
- <% end %>
-
- - 截止时间快到了!
- <% else %>
- -
- <%= link_to ma.course_message.name, student_work_index_path(:homework => ma.course_message.id), :class =>"#{ma.viewed == 0 ? "newsBlack" : "newsGrey"}",
- :onmouseover =>"message_titile_show($(this),event)",
- :onmouseout => "message_titile_hide($(this))"%>
-
-
- <%= ma.course_message.name %>
-
- <% end %>
+ -
+ <%= link_to ma.course_message.name, student_work_index_path(:homework => ma.course_message.id),
+ :class => "#{ma.viewed == 0 ? "newsBlack" : "newsGrey"}",
+ :onmouseover => "message_titile_show($(this),event)",
+ :onmouseout => "message_titile_hide($(this))" %>
+
+
+ <% if User.current.members.where("course_id = ?", ma.course_message.course.id).first.roles.first.name == 'Student' %>
+
+ <%= User.current.lastname + User.current.firstname %>同学您好!
+ <%= ma.course_message.user.lastname + ma.course_message.user.firstname %>老师发布的作业截止日期快到了:
+
+
+
课程名称:<%= ma.course_message.course.name %>(<%= ma.course_message.course.term %>)
+
+
作业标题:<%= ma.course_message.name %>
+
+
提交截止:<%= ma.course_message.end_time %>@nbsp; 24点
+
+
匿评关闭:<%= ma.course_message.homework_detail_manual.evaluation_end %>
+ @nbsp;@nbsp;24点
+
+
迟交扣分:<%= ma.course_message.late_penalty %>分
+
+
+ 请同学们抓紧时间提交自己的作品,谢谢!
+
+ <% else %>
+
<%= User.current.lastname + User.current.firstname %>您好!
+ <%= ma.course_message.user.lastname + ma.course_message.user.firstname %>
+ 老师发布的作业截止日期快到了:
+
+
课程名称:<%= ma.course_message.course.name %>
+ (<%= ma.course_message.course.term %>)
+
+
作业标题:<%= ma.course_message.name %>
+
+
提交截止:<%= ma.course_message.end_time %>@nbsp;@nbsp;24点
+
+
匿评开始:<%= ma.course_message.homework_detail_manual.evaluation_start %>
+ @nbsp;@nbsp;24点
+
+
匿评关闭:<%= ma.course_message.homework_detail_manual.evaluation_end %>
+ @nbsp;@nbsp;24点
+
+
迟交扣分:<%= ma.course_message.late_penalty %>分
+
+
缺评扣分:<%= ma.course_message.homework_detail_manual.absence_penalty %>分
+
+
+
+ 您可以修改作业内容、评分规则、匿评过程等,谢谢!
+
+ <% end %>
+
+ - 截止时间快到了!
- <%= time_tag(ma.created_at).html_safe %>
<% end %>