diff --git a/app/views/users/_user_syllabus_list.html.erb b/app/views/users/_user_syllabus_list.html.erb index e967383f6..3cc7bf61c 100644 --- a/app/views/users/_user_syllabus_list.html.erb +++ b/app/views/users/_user_syllabus_list.html.erb @@ -17,7 +17,6 @@
- <% if @syllabus.any? %> <% @syllabus.each_with_index do |syllabus, index|%>
@@ -27,7 +26,6 @@

<%=syllabus.title %>

- <%=link_to '', syllabus_path(syllabus.id), :class => 'icons_sy_setting fr',:target => '_blank', :title => '查看课程' %>

更新时间:<%=format_date syllabus.updated_at %> 创建老师:<%=syllabus.user.show_name %> 班级:<%=courses.count %> @@ -49,7 +47,7 @@

-

更新:<%=format_date(Time.at(course.time)) %>学期:<%=current_time_and_term(course) %>

+

更新:<%=course.time %>学期:<%=current_time_and_term(course) %>

<%=studentCount course %>学生|<%=visable_course_homework course %>作业|<%=visable_attachemnts_incourse(@course).count %>资源

@@ -67,8 +65,11 @@ <% end %> + + + <%=link_to '', syllabus_path(syllabus.id), :class => 'icons_sy_setting fr',:target =>'_blank', :title => '查看课程' %> - <% end %> + <% end %>