[%# talkpost_do/preview_comment.tt Displays a preview of the submitted comment, mimicking the markup of the comments section in a site-skin entry page. Authors: Nick Fagerlund Copyright (c) 2020 by Dreamwidth Studios, LLC. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself. For a copy of the license, please reference 'perldoc perlartistic' or 'perldoc perlgpl'. -%]

[% dw.ml('/talkpost_do.tt.preview.title') %]

[% dw.ml('/talkpost_do.tt.preview') %]

[% comment.icon %]

[% IF comment.subject %] [% comment.subject %] [% ELSE %] [% END %]

[% IF comment.subjecticon %]
[% comment.subjecticon %]
[% END %] [% comment.poster %] [% IF comment.admin_post %] ([% dw.img('admin-post') %] as admin) [% END %] [%# This is just lorem-ipsum so the spatial relationships look right. %] 20xx-mm-dd hh:mm am (UTC) (IP address, if recorded) (link)
[% comment.body %]
[%# end .inner %]
[%# end #comments %]
[%# end #preview-comment %]