-
- <%= image_tag(url_to_avatar(@course), :width => "60", :height => "60") %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/app/views/users/_user_homework_detail.html.erb b/app/views/users/_user_homework_detail.html.erb
index fb6ae0455..0472613e4 100644
--- a/app/views/users/_user_homework_detail.html.erb
+++ b/app/views/users/_user_homework_detail.html.erb
@@ -84,9 +84,11 @@
分组人数:<%=homework_common.homework_detail_group.min_num %>-<%=homework_common.homework_detail_group.max_num %> 人
<% end %>
-
- <%= l(:label_end_time)%>:<%= homework_common.end_time%> 23:59
-
+ <% if homework_common.homework_detail_manual && homework_common.homework_detail_manual.comment_status < 2 %>
+
提交截止时间:<%= homework_common.end_time.to_s %> 23:59
+ <% elsif homework_common.homework_detail_manual && homework_common.homework_detail_manual.comment_status >= 2 %>
+
匿评截止时间:<%= homework_common.homework_detail_manual.evaluation_end.to_s %> 23:59
+ <% end %>
<% if homework_common.homework_detail_manual.comment_status == 0 %>
<%= l(:label_publish_time)%>:<%= homework_common.publish_time%> 00:00
diff --git a/config/routes.rb b/config/routes.rb
index fb381e8ea..67a1c7e88 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -924,6 +924,7 @@ RedmineApp::Application.routes.draw do
post 'join_in/join_group', :to => 'courses#join_group', :as => 'join_group'
delete 'join_in/join_group', :to => 'courses#unjoin_group'
get 'copy_course'
+ get 'private_or_public'
match 'course_activity', :to => 'courses#course_activity', :via => :get, :as => "course_activity"
get 'course_outline'
post 'search_course_outline'
diff --git a/public/stylesheets/courses.css b/public/stylesheets/courses.css
index 86586243d..441adce29 100644
--- a/public/stylesheets/courses.css
+++ b/public/stylesheets/courses.css
@@ -1239,3 +1239,5 @@ div.disable_link {background-color: #c1c1c1 !important;}
.support{ background:url(../images/public_icon.png) -66px -45px no-repeat; width:18px; height:21px;}
.function{ background:url(../images/public_icon.png) -66px -70px no-repeat; width:18px; height:21px;}
.weekly{ background:url(../images/public_icon.png) -66px -95px no-repeat; width:18px; height:21px;}
+
+.boxShadow {box-shadow:0px 2px 8px rgba(146, 153, 169, 0.5);}