@@ -45,18 +46,29 @@
<%= activity.description.html_safe %>
-
-
- -
-
- - 编辑
- - 复制
- - 删除
+ <% if is_teacher%>
+
+
+ -
+
+ -
+ <%= link_to l(:button_edit),edit_homework_common_path(activity,:is_in_course => 0), :class => "postOptionLink"%>
+
+ -
+ <%= link_to(l(:label_bid_respond_delete), homework_common_path(activity,:is_in_course => 0),:method => 'delete', :confirm => l(:text_are_you_sure), :class => "postOptionLink") %>
+
+ -
+ <%= link_to("匿评设置", start_evaluation_set_homework_common_path(activity),:class => "postOptionLink", :remote => true) if activity.homework_detail_manual.comment_status == 1%>
+
+ -
+ <%= homework_anonymous_comment activity %>
+
+
+
-
-
+
+ <% end%>
-