bug修复
This commit is contained in:
parent
0f8cc584a9
commit
8b87c141cc
|
@ -78,7 +78,7 @@
|
||||||
<label><span class="c_red">*</span> 结束学期 :</label>
|
<label><span class="c_red">*</span> 结束学期 :</label>
|
||||||
<%= select_tag :end_time,options_for_select(course_time_option(@new_course.end_time),@new_course.end_time), {:id=>"new_end_time"} %>
|
<%= select_tag :end_time,options_for_select(course_time_option(@new_course.end_time),@new_course.end_time), {:id=>"new_end_time"} %>
|
||||||
<%= select_tag :end_term,options_for_select(course_term_option,@new_course.end_term || cur_course_term),{:id=>"new_end_term"} %>
|
<%= select_tag :end_term,options_for_select(course_term_option,@new_course.end_term || cur_course_term),{:id=>"new_end_term"} %>
|
||||||
<span class="mr15 c_red">仅针对跨越多个学期的班级,否则不用修改。</span>
|
<span class="mr15 c_red">仅针对跨越多个学期的班级,否则与开始学期保持一致。</span>
|
||||||
</li>
|
</li>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
<!--<li class="ml45 mb10">
|
<!--<li class="ml45 mb10">
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
<label><span class="c_red">*</span> 结束学期 :</label>
|
<label><span class="c_red">*</span> 结束学期 :</label>
|
||||||
<%= select_tag :end_time,options_for_select(course_time_option(@course.end_time),@course.end_time), {:id=>"new_end_time"} %>
|
<%= select_tag :end_time,options_for_select(course_time_option(@course.end_time),@course.end_time), {:id=>"new_end_time"} %>
|
||||||
<%= select_tag :end_term,options_for_select(course_term_option,@course.end_term || cur_course_term),{:id=>"new_end_term"} %>
|
<%= select_tag :end_term,options_for_select(course_term_option,@course.end_term || cur_course_term),{:id=>"new_end_term"} %>
|
||||||
<span class="mr15 c_red">仅针对跨越多个学期的班级,否则不用修改。</span>
|
<span class="mr15 c_red">仅针对跨越多个学期的班级,否则与开始学期保持一致。</span>
|
||||||
</li>
|
</li>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
<!--<li class="ml45 mb10">
|
<!--<li class="ml45 mb10">
|
||||||
|
|
|
@ -30,8 +30,8 @@
|
||||||
:remote => true,
|
:remote => true,
|
||||||
:method => :post,
|
:method => :post,
|
||||||
:id => 'new_join_course') do %>
|
:id => 'new_join_course') do %>
|
||||||
<label>请输入课程密码:</label>
|
<label>请输入班级邀请码:</label>
|
||||||
<%= text_field_tag 'course_password', nil, :style=>'width:300px;'%>
|
<%= text_field_tag 'invite_code', nil, :style=>'width:300px;'%>
|
||||||
<div class="ni_btn">
|
<div class="ni_btn">
|
||||||
<a href="javascript:" class="tijiao" onclick="$('#new_join_course').submit();" >
|
<a href="javascript:" class="tijiao" onclick="$('#new_join_course').submit();" >
|
||||||
确 定
|
确 定
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
<% courses = @courses.where("syllabus_id = #{syllabus.id}").select("courses.*,(SELECT MAX(updated_at) FROM `course_activities` WHERE course_activities.course_id = courses.id) AS time").order("time desc") %>
|
<% courses = @courses.where("syllabus_id = #{syllabus.id}").select("courses.*,(SELECT MAX(updated_at) FROM `course_activities` WHERE course_activities.course_id = courses.id) AS time").order("time desc") %>
|
||||||
<div class="syllabus_courses_list">
|
<div class="syllabus_courses_list">
|
||||||
<div class="<%=index == 0 ? 'sy_courses_open' : 'sy_courses_close' %>">
|
<div class="<%=index == 0 ? 'sy_courses_open' : 'sy_courses_close' %>">
|
||||||
<span class="<%=index == 0 ? 'icons_sy_open' : 'icons_sy_close' %> fl mr5"></span>
|
<span class="<%=index == 0 && !courses.empty? ? 'icons_sy_open' : 'icons_sy_close' %> fl mr5"></span>
|
||||||
<h3 class="syllabus_courses_title fl"><%=syllabus.title %></h3>
|
<h3 class="syllabus_courses_title fl"><%=syllabus.title %></h3>
|
||||||
</div>
|
</div>
|
||||||
<p class="fl sy_p_grey">更新时间:<%=format_date syllabus.updated_at %>
|
<p class="fl sy_p_grey">更新时间:<%=format_date syllabus.updated_at %>
|
||||||
|
|
Loading…
Reference in New Issue