ensured that comment interface HTML is semantic and is matched to the theme/default comment interface

This commit is contained in:
Daniel Caine 2015-04-22 15:04:51 +12:00
parent 8e433e4273
commit 8ae8a541f7

View File

@ -11,32 +11,32 @@
<% end_if %> <% end_if %>
</p> </p>
<% end_if %> <% end_if %>
<div class="comment-text" id="<% if $isPreview %>comment-preview<% else %>$Permalink<% end_if %>"> <div class="comment-text well" id="<% if $isPreview %>comment-preview<% else %>$Permalink<% end_if %>">
<p>$EscapedComment</p> <p>$EscapedComment</p>
</div> </div>
<% if not $isPreview %> <% if not $isPreview %>
<% if $ApproveLink || $SpamLink || $HamLink || $DeleteLink || $RepliesEnabled %> <% if $ApproveLink || $SpamLink || $HamLink || $DeleteLink || $RepliesEnabled %>
<ul class="action-links"> <div class="comment-action-links">
<% if $ApproveLink %> <div class="comment-moderation-options">
<li><a href="$ApproveLink.ATT" class="approve"><% _t('CommentsInterface_singlecomment_ss.APPROVE', 'approve this comment') %></a></li> <% if $ApproveLink %>
<% end_if %> <a href="$ApproveLink.ATT" class="approve"><% _t('CommentsInterface_singlecomment_ss.APPROVE', 'approve it') %></a>
<% if $SpamLink %> <% end_if %>
<li><a href="$SpamLink.ATT" class="spam"><% _t('CommentsInterface_singlecomment_ss.ISSPAM','this comment is spam') %></a></li> <% if $SpamLink %>
<% end_if %> <a href="$SpamLink.ATT" class="spam"><% _t('CommentsInterface_singlecomment_ss.ISSPAM','spam it') %></a>
<% if $HamLink %> <% end_if %>
<li><a href="$HamLink.ATT" class="ham"><% _t('CommentsInterface_singlecomment_ss.ISNTSPAM','this comment is not spam') %></a></li> <% if $HamLink %>
<% end_if %> <a href="$HamLink.ATT" class="ham"><% _t('CommentsInterface_singlecomment_ss.ISNTSPAM','not spam') %></a>
<% if $DeleteLink %> <% end_if %>
<li><a href="$DeleteLink.ATT" class="delete"><% _t('CommentsInterface_singlecomment_ss.REMCOM','remove this comment') %></a></li> <% if $DeleteLink %>
<% end_if %> <a href="$DeleteLink.ATT" class="delete"><% _t('CommentsInterface_singlecomment_ss.REMCOM','reject it') %></a>
<% end_if %>
</div>
<% if $RepliesEnabled %> <% if $RepliesEnabled %>
<li class="comment-reply-action"> <a class="comment-reply-link" href="#{$ReplyForm.FormName}">Reply to $AuthorName.XML</a>
<a class="comment-reply-link" href="#{$ReplyForm.FormName}">Reply to $AuthorName.XML</a>
</li>
<% end_if %> <% end_if %>
</ul> </div>
<% end_if %> <% end_if %>
<% include CommentReplies %> <% include CommentReplies %>