/comments: add IDs differentiating group_by=post/group_by=comment (fixes #3152).
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<div class="comments-for-post">
|
<div id="p-index-by-comment" class="comments-for-post">
|
||||||
<div class="list-of-comments">
|
<div class="list-of-comments">
|
||||||
<% @comments.each do |comment| %>
|
<% @comments.each do |comment| %>
|
||||||
<% if CurrentUser.is_moderator? || !comment.is_deleted? %>
|
<% if CurrentUser.is_moderator? || !comment.is_deleted? %>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<div>
|
<div id="p-index-by-post">
|
||||||
<% if !CurrentUser.user.is_builder? %>
|
<% if !CurrentUser.user.is_builder? %>
|
||||||
<div style="margin-bottom: 1em;">
|
<div style="margin-bottom: 1em;">
|
||||||
<h2>Before commenting, read the <%= link_to "how to comment guide", wiki_pages_path(:search => {:title => "howto:comment"}) %>.</h2>
|
<h2>Before commenting, read the <%= link_to "how to comment guide", wiki_pages_path(:search => {:title => "howto:comment"}) %>.</h2>
|
||||||
|
|||||||
Reference in New Issue
Block a user