mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
ab3f35257b
* Remove CommentList and replace with a polymorphic has_one relationship * Tweaks for unit tests. Add tests for encode/decodeClassName.
26 lines
845 B
Scheme
26 lines
845 B
Scheme
<% if $RepliesEnabled %>
|
|
<div class="comment-replies-container">
|
|
|
|
<% if $canPostComment %>
|
|
<div class="comment-reply-form-holder">
|
|
$ReplyForm
|
|
</div>
|
|
<% end_if %>
|
|
|
|
<div class="comment-replies-holder">
|
|
<% if $Replies %>
|
|
<ul class="comments-list level-{$Depth}">
|
|
<% loop $Replies %>
|
|
<li class="comment $EvenOdd<% if FirstLast %> $FirstLast <% end_if %> $SpamClass">
|
|
<% include CommentsInterface_singlecomment %>
|
|
</li>
|
|
<% end_loop %>
|
|
</ul>
|
|
<% with $Replies %>
|
|
<% include ReplyPagination %>
|
|
<% end_with %>
|
|
<% end_if %>
|
|
</div>
|
|
</div>
|
|
<% end_if %>
|