加入项目跳转至相应项目

This commit is contained in:
ouyangxuhua 2015-08-12 16:32:34 +08:00
parent 78ccfe6a03
commit 115e1e67d5
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@
alert("课程已过期\n请联系课程管理员重启课程。(在配置课程处)");
<% elsif @state == 3 %>
alert("您已经加入了课程");
window.location.href= "http://"+"<%= Setting.host_name%>"+"/courses/" + "<%= course.id%>"
<% elsif @state == 4 %>
alert("您加入的课程不存在");
<% elsif @state == 5 %>