From 42a602a9bc57e7638f4e6a76d5b172132ea9ca49 Mon Sep 17 00:00:00 2001 From: nwb Date: Thu, 3 Jul 2014 18:20:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/welcome/course.html.erb | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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 %>