{* FEEDBACK topic type: ideas, bug reports, suggestions, thankyous, etc. *}

{$topic.title|escape} {* @event frontend_topic.%plugin_id%.title_suffix *} {foreach $frontend_topic as $_}{$_.title_suffix}{/foreach} {if $topic.badge} {$topic.badge.name} {/if}

{if !empty($types[$topic.type_id].settings.voting)}
{if !empty($types[$topic.type_id].settings.voting['-'])}{/if} {if !empty($types[$topic.type_id].settings.voting['+'])}{/if} {$topic.votes_sum}
{/if}
{$topic.content}
{* @event frontend_topic.%plugin_id%.body *} {foreach $frontend_topic as $_}{$_.body}{/foreach} [`Posted`]: {$topic.create_datetime|wa_date:'humandate'}
{if !empty($topic.author)} {if !empty($topic.author.badge)} {$topic.author.badge} {/if} {/if}
{foreach $tags as $tag}{if !$tag@first}, {/if}{$tag.name|escape}{/foreach}
{if !empty($topic.editable) || !empty($topic.deletable)} {/if}
{if !empty($types[$topic.type_id].settings.commenting)}
{* @event frontend_topic.%plugin_id%.comments *} {foreach $frontend_topic as $_}{$_.comments}{/foreach}

{_w('%d comment', '%d comments', $comments_count)}

{if $wa->userId()}
[`New comments will be sent to you by email`]
{/if} {if !empty($comments)} {$depth=-1} {foreach $comments as $comment} {if $comment.depth < $depth} {$loop=($depth-$comment.depth)} {section name="end-comment" loop=$loop} {/section} {$depth=$comment.depth} {/if} {if $comment.depth == $depth}
  • {/if} {if $comment.depth > $depth} {/section} {else} {/if}

  • {* Add comment form *} {if $comments_allowed}

    [`Add comment`]

    {include file="comment.add.html" inline} {else} {if !empty($topic.badge) && $topic.badge.id == 'archived'}

    [`This topic is in the archive. Posting new comments is disabled.`]

    {else}

    [`Posting new comments is disabled for this topic.`]

    {/if} {/if} {/if}