parent
efef1d943f
commit
b7a6bc3614
@ -1,8 +1,8 @@
|
|||||||
hideModal();
|
hideModal();
|
||||||
<%if @course.tea_id == User.current.id && @course.outline == 0 %>
|
<%if @course.tea_id == User.current.id && @course.outline == 0 %>
|
||||||
<% else %>
|
<% else %>
|
||||||
$("#course_outline_bar").html('<a href="<%=show_course_outline_course_path(@course) %>" title="课程大纲" class="mr5 syllabusIcon fl"> </a>')
|
$("#course_outline_bar").html('<a href="<%=syllabus_course_path(@course) %>" title="课程大纲" class="mr5 syllabusIcon fl"> </a>')
|
||||||
<%end %>
|
<%end %>
|
||||||
<%if @is_in_show_outline_page && @is_in_show_outline_page == 'Y'%>
|
<%if @is_in_show_outline_page && @is_in_show_outline_page == 'Y'%>
|
||||||
window.location.href='<%=show_course_outline_course_path(@course) %>';
|
window.location.href='<%=syllabus_course_path(@course) %>';
|
||||||
<% end %>
|
<% end %>
|
||||||
|
Loading…
Reference in new issue