diff --git a/app/views/welcome/course.html.erb b/app/views/welcome/course.html.erb index 970d9c17..9a25d9db 100644 --- a/app/views/welcome/course.html.erb +++ b/app/views/welcome/course.html.erb @@ -182,7 +182,7 @@
- <% course = Course.find_by_extra(project.identifier)%> + <% course = project%> <% if(course.school == nil) %>               <% else %> @@ -201,13 +201,6 @@ <% files_count = (project.attachments.count.to_i+Version.joins(:project).where("projects.id=#{project.id}").count.to_i).to_s %> (<%=link_to "#{files_count}份", project_files_path(project) %>资料)
-
- <% if !course_endTime_timeout?(project)%> -
- <%= new_watcher_link(project, User.current)%> -
- <% end %> -
<% end %> <% end %>