diff --git a/app/views/courses/_join_private_course.html.erb b/app/views/courses/_join_private_course.html.erb index 2c616027e..592c79ba1 100644 --- a/app/views/courses/_join_private_course.html.erb +++ b/app/views/courses/_join_private_course.html.erb @@ -36,7 +36,7 @@ } -

请输入课程密码

+

请输入相关信息

<%= form_tag({:controller => 'courses', :action => 'join'}, @@ -48,7 +48,7 @@ <%= text_field_tag 'object_id', nil, :style=>'width:80%'%>
- 密码: + 密码   : <%= text_field_tag 'course_password', nil, :style=>'width:80%'%>
diff --git a/app/views/welcome/_more_course.html.erb b/app/views/welcome/_more_course.html.erb index c871e7f97..d48050a63 100644 --- a/app/views/welcome/_more_course.html.erb +++ b/app/views/welcome/_more_course.html.erb @@ -3,6 +3,8 @@ <%= link_to(l(:label_course_new), {:controller => 'courses', :action => 'new'}, :class => 'icon icon-add') if User.current.allowed_to?(:add_course,nil, :global => true) %> <% end %> +      <% end %> +<%= link_to "加入课程", join_private_courses_courses_path ,:remote => true, :class => 'icon icon-add' %>      <%= link_to l(:label_more), {:controller => 'courses', :action => 'index', :school_id => school_id} %> \ No newline at end of file diff --git a/app/views/welcome/course.html.erb b/app/views/welcome/course.html.erb index b3c1341a4..b9eec5014 100644 --- a/app/views/welcome/course.html.erb +++ b/app/views/welcome/course.html.erb @@ -128,7 +128,7 @@ <%= link_to l(:label_my_question), newbie_send_path, {:class => 'orangeButton idea_btn', :style => "color: #EEEEEE"} %> <%= link_to l(:label_my_feedback), suggestion_send_path, {:class => 'orangeButton idea_btn', :style => "color: #EEEEEE"} %> - <%#= link_to "加入私有课程", join_private_courses_courses_path ,:remote => true %> + <%= link_to "更多>>", forums_path %>