forked from e621ng/e621ng
[Comments] Show direct link comments to the creator regardless of settings (#788)
This commit is contained in:
parent
69010787bc
commit
2f237e00ef
@ -1,4 +1,4 @@
|
||||
<% if comment.should_see?(CurrentUser.user) %>
|
||||
<% if comment.should_see?(CurrentUser.user) || (current_page?(:controller => "comments", :action => "show") && CurrentUser.id == comment.creator_id) %>
|
||||
<article class="comment comment-post-grid <%= "below-threshold" if comment.below_threshold? %>" data-post-id="<%= comment.post_id %>"
|
||||
data-comment-id="<%= comment.id %>" data-score="<%= comment.score %>"
|
||||
data-creator="<%= comment.creator&.name.downcase %>" data-is-sticky="<%= comment.is_sticky %>" data-creator-id="<%= comment.creator_id %>"
|
||||
|
Loading…
Reference in New Issue
Block a user