Merge remote-tracking branch 'origin/szzh' into szzh
This commit is contained in:
commit
8846e2ff67
|
@ -41,6 +41,11 @@
|
||||||
<%= homework_common.language_name%>
|
<%= homework_common.language_name%>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
<% if homework_common.homework_detail_manual.comment_status == 0 %>
|
||||||
|
<div class="homepagePostDeadline mr15">
|
||||||
|
<%= l(:label_publish_time)%>:<%= homework_common.publish_time%>
|
||||||
|
</div>
|
||||||
|
<% end %>
|
||||||
<div class="homepagePostDeadline">
|
<div class="homepagePostDeadline">
|
||||||
<%= l(:label_end_time)%>:<%= homework_common.end_time%>
|
<%= l(:label_end_time)%>:<%= homework_common.end_time%>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -2024,6 +2024,7 @@ zh:
|
||||||
label_creat: 创建
|
label_creat: 创建
|
||||||
#api end
|
#api end
|
||||||
|
|
||||||
|
label_publish_time: 发布时间
|
||||||
label_end_time: 截止时间
|
label_end_time: 截止时间
|
||||||
label_send_email: 确定发送
|
label_send_email: 确定发送
|
||||||
label_input_email: 请输入邮箱地址(必填)
|
label_input_email: 请输入邮箱地址(必填)
|
||||||
|
|
|
@ -666,6 +666,7 @@ function regex_homework_end_publish_time()
|
||||||
$("#homework_publish_time").val(myDate.toLocaleDateString());
|
$("#homework_publish_time").val(myDate.toLocaleDateString());
|
||||||
}
|
}
|
||||||
var publish_time = Date.parse($("#homework_publish_time").val());
|
var publish_time = Date.parse($("#homework_publish_time").val());
|
||||||
|
var end_time = Date.parse($("#homework_end_time").val());
|
||||||
if(end_time < publish_time)
|
if(end_time < publish_time)
|
||||||
{
|
{
|
||||||
$("#homework_end_time_span").text("截止日期不能小于发布日期");
|
$("#homework_end_time_span").text("截止日期不能小于发布日期");
|
||||||
|
@ -1258,4 +1259,4 @@ function course_outline(id){
|
||||||
// $('#course_outline_search').on('input',function(){
|
// $('#course_outline_search').on('input',function(){
|
||||||
// alert('<%= @course.id%>')
|
// alert('<%= @course.id%>')
|
||||||
// })
|
// })
|
||||||
//})
|
//})
|
||||||
|
|
Loading…
Reference in New Issue