diff --git a/Gemfile b/Gemfile index 1305320cf..cbeade2a3 100644 --- a/Gemfile +++ b/Gemfile @@ -50,10 +50,10 @@ gem 'elasticsearch-model' gem 'elasticsearch-rails' #rails 3.2.22.2 bug - # gem "test-unit", "~>3.0" + gem "test-unit", "~>3.0" ### profile - # gem 'oneapm_rpm' + gem 'oneapm_rpm' group :development do gem 'grape-swagger' diff --git a/app/views/courses/_recommendation.html.erb b/app/views/courses/_recommendation.html.erb index ba60070d0..cb31db24f 100644 --- a/app/views/courses/_recommendation.html.erb +++ b/app/views/courses/_recommendation.html.erb @@ -4,9 +4,11 @@ <% exc_course.each_with_index do |e_course, i| %>
  • <%= i+1 %> - <%= link_to e_course.syllabus.title, syllabus_path(e_course.syllabus_id), :target => '_blank', :class => "sy_class_ltitle fl"%> -  ·  - <%=link_to e_course.name, course_path(e_course.id), :class => "sy_class_ltitle fl mb10" %> +
    + <%= link_to e_course.syllabus.title, syllabus_path(e_course.syllabus_id), :target => '_blank', :class => "sy_class_ltitle"%> +  ·  + <%=link_to e_course.name, course_path(e_course.id), :class => "sy_class_ltitle mb10" %> +

    <% homework_count = e_course.homework_commons.where("publish_time <= '#{Date.today}'").count %> diff --git a/app/views/courses/new.html.erb b/app/views/courses/new.html.erb index 6870b7618..4c4374a29 100644 --- a/app/views/courses/new.html.erb +++ b/app/views/courses/new.html.erb @@ -21,6 +21,8 @@

  • +
  • 正确示例:计算机系2016秋季A班
  • +
  • 错误示例:软件工程 - 计算机系2016秋季A班
  • @@ -73,7 +75,7 @@ (选中后允许学生上传班级资源,否则不允许)
  • -
  • +
  • 提交 <%= link_to "取消",user_activities_path(User.current.id),:class => "grey_btn fl c_white ml10"%>
    diff --git a/app/views/layouts/new_base_user.html.erb b/app/views/layouts/new_base_user.html.erb index 1127288ae..b9ca67362 100644 --- a/app/views/layouts/new_base_user.html.erb +++ b/app/views/layouts/new_base_user.html.erb @@ -163,6 +163,7 @@