|
|
@ -43,7 +43,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
<script type="text/javascript">
|
|
|
|
function test(id){
|
|
|
|
function test(id){
|
|
|
|
location.href = encodeURI('/course/'+id);
|
|
|
|
location.href = encodeURI('http://course.trustie.net/?school_id='+id);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
@ -71,7 +71,7 @@
|
|
|
|
<p>
|
|
|
|
<p>
|
|
|
|
|
|
|
|
|
|
|
|
<%= link_to "全部学校",school_index_path %>
|
|
|
|
<%= link_to "全部学校",school_index_path %>
|
|
|
|
<%= link_to '我的学校',school_course_list_path(User.current.user_extensions.school) if User.current.logged? %>
|
|
|
|
<a href="http://course.trustie.net">我的学校</a>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
<ul>
|
|
|
|
<ul>
|
|
|
|
<li style="width: 40%; float: left">请选择省份:
|
|
|
|
<li style="width: 40%; float: left">请选择省份:
|
|
|
|