summaryrefslogtreecommitdiffstats
path: root/app/views/news/show.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/news/show.html.erb')
-rw-r--r--app/views/news/show.html.erb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/news/show.html.erb b/app/views/news/show.html.erb
index 2178e1c14..09e14f61f 100644
--- a/app/views/news/show.html.erb
+++ b/app/views/news/show.html.erb
@@ -33,6 +33,9 @@
<div id="comments" style="margin-bottom:16px;">
<h3 class="comments"><%= l(:label_comment_plural) %></h3>
+<% if @news.commentable? && @comments.size >= 3 %>
+ <p><%= toggle_link l(:label_comment_add), "add_comment_form", :focus => "comment_comments", :scroll => "comment_comments" %></p>
+<% end %>
<% @comments.each do |comment| %>
<% next if comment.new_record? %>
<div class="contextual">