1{foreach from=$comments item=comment name="comments"}
2    <article id="c{$comment.id}" class="comment {cycle values="odd,even"}{if $comment.depth > 8} commentlevel-9{else} commentlevel-{$comment.depth}{/if}">
3        <header class="clearfix">
4            <h4>{if $comment.url}<a href="{$comment.url}">{/if}{$comment.author|default:$CONST.ANONYMOUS}{if $comment.url}</a>{/if}{if $comment.spice_twitter_name and not $comment.spice_twitter_followme} (<a href="{$comment.spice_twitter_url}"{if $comment.spice_twitter_nofollow} rel="nofollow"{/if}>@{$comment.spice_twitter_name}</a>){/if} {$CONST.ON} <time datetime="{$comment.timestamp|serendipity_html5time}">{$comment.timestamp|formatTime:$template_option.date_format}</time>:</h4>
5        {if $comment.spice_twitter_name && $comment.spice_twitter_followme}
6            <div class="twitter_follow">
7            {$comment.spice_twitter_followme}
8            </div>
9        {/if}
10        </header>
11
12        <div class="clearfix">
13            {if $comment.avatar}{$comment.avatar}{/if}
14        {if $comment.body == 'COMMENT_DELETED'}
15            <p class="msg-warning"><span class="icon-attention-circled" aria-hidden="true"></span> {$CONST.COMMENT_IS_DELETED}</p>
16        {else}
17            {$comment.body}
18        {/if}
19        </div>
20
21        <footer>
22        {if $comment.spice_article_name}
23            <p>{$comment.spice_article_prefix}: <a{if $comment.spice_article_nofollow} rel="nofollow"{/if} href="{$comment.spice_article_url}">{$comment.spice_article_name}</a></p>
24        {/if}
25            <ul class="meta">
26                <li><time>{$comment.timestamp|formatTime:'%H:%M'}</time></li>
27                <li><a class="comment_source_trace" href="#c{$comment.id}" title="{$CONST.NEXT_PLINK_TITLE}">{$CONST.NEXT_PLINK_TEXT}</a></li>
28            {if $entry.is_entry_owner}
29                <li><a class="comment_source_ownerlink" href="{$comment.link_delete}" title="{$CONST.COMMENT_DELETE_CONFIRM|sprintf:$comment.id:$comment.author}">{$CONST.DELETE}</a></li>
30            {/if}
31        {if $template_option.refcomments == true}
32            {if $comment.parent_id != '0'}
33                <li><a class="reply_origin" href="#c{$comment.parent_id}" title="{$CONST.NEXT_REPLYORIGIN}: {$CONST.COMMENT} #c{$comment.parent_id}">{$CONST.NEXT_REPLYORIGIN}</a></li>
34            {/if}
35        {/if}
36            {if $entry.allow_comments AND $comment.body != 'COMMENT_DELETED'}
37                <li><a id="serendipity_reply_{$comment.id}" class="comment_reply" href="#serendipity_CommentForm">{$CONST.REPLY}</a>
38                <div id="serendipity_replyform_{$comment.id}" class="visuallyhidden"></div></li>
39            {/if}
40            </ul>
41        </footer>
42    </article>
43{foreachelse}
44    <p class="msg-notice"><span class="icon-info-circled" aria-hidden="true"></span> {$CONST.NO_COMMENTS}</p>
45{/foreach}
46