fixes #1913
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
<div id="c-comments">
|
||||
<div id="a-index">
|
||||
<h1>Comments</h1>
|
||||
<% if !CurrentUser.user.is_builder? %>
|
||||
<div style="margin-bottom: 1em;">
|
||||
<h2>Before commenting, read the <%= link_to "how to comment guide", wiki_pages_path(:search => {:title => "howto:comment"}) %>.</h2>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<% if @posts.empty? %>
|
||||
<%= render "post_sets/blank" %>
|
||||
|
||||
@@ -59,6 +59,9 @@
|
||||
</menu>
|
||||
|
||||
<section id="comments">
|
||||
<% if !CurrentUser.user.is_builder? %>
|
||||
<h2>Before commenting, read the <%= link_to "how to comment guide", wiki_pages_path(:search => {:title => "howto:comment"}) %>.</h2>
|
||||
<% end %>
|
||||
<%= render "comments/partials/index/list", :comments => @post.comments.visible(CurrentUser.user), :post => @post, :show_header => false %>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user