socialforge/app/views/courses/set_course_outline.js.erb

9 lines
380 B
Plaintext
Raw Normal View History

2015-10-29 17:09:03 +08:00
hideModal();
<%if @course.tea_id == User.current.id && @course.outline == 0 %>
<% else %>
2015-10-30 17:21:12 +08:00
$("#course_outline_bar").html('<a href="<%=syllabus_course_path(@course) %>" title="课程大纲" class="mr5 syllabusIcon fl"> </a>')
2015-10-29 17:09:03 +08:00
<%end %>
2015-11-06 10:11:40 +08:00
<%#if @is_in_show_outline_page && @is_in_show_outline_page == 'Y'%>
2015-11-06 10:12:20 +08:00
window.location.href='<%=syllabus_course_path(@course) %>';
2015-11-06 10:11:40 +08:00
<%# end %>