diff --git a/app/views/homework_common/index.html.erb b/app/views/homework_common/index.html.erb
index 35f4658f9..167ae98f0 100644
--- a/app/views/homework_common/index.html.erb
+++ b/app/views/homework_common/index.html.erb
@@ -45,11 +45,15 @@
- <% @homework_commons.each_with_index do |homework_common,index |%>
- -
- <%= link_to "作业#{@homework_commons.count - index}:#{homework_common.name}",student_work_index_path(:homework => homework_common.id),:target=>"_blank"%>
-
- <% end%>
+ <% if @homework_commons.empty? %>
+ - 目前尚未发布作业
+ <% else %>
+ <% @homework_commons.each_with_index do |homework_common,index |%>
+ -
+ <%= link_to "作业#{@homework_commons.count - index}:#{homework_common.name}",student_work_index_path(:homework => homework_common.id),:target=>"_blank"%>
+
+ <% end%>
+ <% end %>