diff --git a/app/views/courses/show_course_outline.html.erb b/app/views/courses/show_course_outline.html.erb
index ff503d983..84ddc1074 100644
--- a/app/views/courses/show_course_outline.html.erb
+++ b/app/views/courses/show_course_outline.html.erb
@@ -34,15 +34,35 @@
<%= link_to image_tag(url_to_avatar(@article.author),:width=>50,:height => 50,:alt=>'图像' ),user_path(@article.author) %>
- <% if @article.author.id == User.current.id%>
+ <% if User.current && @article.author.id == User.current.id%>
+
+
+ -
+
+ -
+ 重设大纲
+
+ -
+ <%= link_to(
+ '删除大纲',
+ {:controller => 'blog_comments',:action => 'destroy',:user_id=>BlogComment.find(@course.outline).author_id,:blog_id=>BlogComment.find(@course.outline).blog_id, :id => @course.outline,:course_id=>@course.id},
+ :method => :delete,
+ :data => {:confirm => l(:text_are_you_sure)},
+ :class => 'postOptionLink'
+ ) if User.current && User.current.id == @article.author.id %>
+
+
+
+
+
-
[设置大纲]
-
+
+
<%end%>