diff --git a/view/theme/frio/templates/wall_thread.tpl b/view/theme/frio/templates/wall_thread.tpl index 0fcb84bad0..591e102c77 100644 --- a/view/theme/frio/templates/wall_thread.tpl +++ b/view/theme/frio/templates/wall_thread.tpl @@ -408,24 +408,22 @@ as the value of $top_child_total (this is done at the end of this file) {{* Insert the comment box of the top level post at the bottom of the thread. Display this comment box if there are any comments. If not hide it. In this case it could be opend with the "comment" button *}} - {{if $item.total_comments_num}} + {{if $item.comment && $item.thread_level==1}} + {{if $item.total_comments_num}}
- {{/if}} - {{if $item.comment && $item.thread_level==1}} + {{/if}} {{/if}} - {{if $mode == display}} {{else}} {{if $item.comment_lastcollapsed}}{{/if}} {{/if}} - {{* close the comment-container div if no more thread_level = 2 children are left *}} {{if $item.thread_level==2 && $top_child_nr==$top_child_total}}