forked from e621ng/e621ng
Better convey access to reply to comments/forums
This commit is contained in:
parent
321ddd92fc
commit
c6081ffd70
@ -28,5 +28,7 @@
|
||||
<p><%= link_to "Post comment", new_comment_path(comment: { post_id: post.id }), :class => "expand-comment-response" %></p>
|
||||
<%= render "comments/form", comment: post.comments.new, hidden: true %>
|
||||
</div>
|
||||
<% else %>
|
||||
<h5 id="respond-link"><%= link_to "Login to respond »".html_safe, new_session_path %></h5>
|
||||
<% end %>
|
||||
</div>
|
||||
|
@ -30,6 +30,8 @@
|
||||
<%= render "forum_posts/partials/new/form", :forum_post => ForumPost.new(:topic_id => @forum_topic.id) %>
|
||||
</div>
|
||||
<% end %>
|
||||
<% elsif !@forum_topic.is_locked? %>
|
||||
<h5 id="respond-link"><%= link_to "Login to respond »".html_safe, new_session_path %></h5>
|
||||
<% end %>
|
||||
|
||||
<%= numbered_paginator(@forum_posts) %>
|
||||
|
@ -141,7 +141,7 @@
|
||||
</menu>
|
||||
|
||||
<section id="comments">
|
||||
<% if !CurrentUser.user.is_janitor? %>
|
||||
<% if !CurrentUser.is_anonymous? && !CurrentUser.user.is_janitor? %>
|
||||
<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 %>
|
||||
|
Loading…
Reference in New Issue
Block a user