<% if @comment.unreviewed? %><% if @owner && @comment.ultimate_parent.is_a?(Work) %>
Comments on this work are moderated and will not appear until you approve them.<% elsif @comment.ultimate_parent.is_a?(AdminPost) %>
Comments on this news post are moderated and will not appear until approved.<% else %>
Comments on this work are moderated and will not appear until approved by the work creator.<% end %>
<% end %><% if @comment.unreviewed? && @owner %>
Review comments on "<%= @comment.ultimate_parent.commentable_name %>": <%= polymorphic_url([:unreviewed, @comment.ultimate_parent, :comments]) %><% end %><% unless @noreply || @comment.unreviewed? %>
Reply to this comment: <%= comment_url(@comment, :add_comment_reply_id => @comment.id, :only_path => false) %><% end %>
Go to the thread starting from this comment: <%= comment_url(@comment, :only_path => false) %><% unless @comment.id == @comment.thread %>
Go to the thread to which this comment belongs: <%= comment_url(:id => @comment.thread, :only_path => false) %><% end %>
<% if @comment.parent.kind_of?(Chapter) && @comment.parent.work.chaptered? -%>
Read all comments on Chapter <%= @comment.parent.position %> of "<%= @comment.ultimate_parent.commentable_name %>": <%= work_chapter_url(@comment.parent.work, @comment.parent, show_comments: true, anchor: :comments) %>
<%- else -%>
Read all comments on "<%= @comment.ultimate_parent.commentable_name %>": <%= polymorphic_url(@comment.ultimate_parent, view_full_work: true, show_comments: true, anchor: :comments) %>
<%- end %>
