[%# talkpost_do/preview_parent.tt Displays the parent entry or comment for reference during a comment preview, mimicking the markup of the site-skin reply 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'. -%]

Replying to:

[% parent.icon %]
[% parent.poster_name %] ([% parent.poster %]) wrote [%- IF parent.in_journal %] in [% parent.in_journal %] [%- END -%] [% IF parent.admin_post %] ([% dw.img('admin-post') %] as admin) [% END %] [% parent.time %]

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

[% parent.body %]
[%# end .reply page wrapper %] [%- INCLUDE "components/icon-button-decorative.tt" button = { id = "js-preview-parent-expand" class = "js-hidden js-parent-toggle" } icon = "plus" text = "Show more" -%] [%- INCLUDE "components/icon-button-decorative.tt" button = { id = "js-preview-parent-collapse" class = "js-hidden js-parent-toggle" } icon = "minus" text = "Show less" -%]
[%# end #preview-parent %]