[% USE scalar %] [% BLOCK show_comment %]

[ [% this_comment.id %] ] | [% date.format(this_comment.ts) %] by [% this_comment.user.username %] [% IF User.can_comment %] Reply [% END %]

[% this_comment.body %]

[% FOREACH child IN this_comment.scalar.comments.all %] [% PROCESS show_comment this_comment=child %] [% END %]
[% END %] [% IF comment %] [% PROCESS show_comment this_comment=comment %] [% END %]