From 98d52bc56820190f6431ae013c01065dd56a5e6d Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 4 Nov 2016 21:19:07 -0400 Subject: [PATCH] [frio] fix wall_thread.tpl error with unstareable items --- view/theme/frio/templates/wall_thread.tpl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/view/theme/frio/templates/wall_thread.tpl b/view/theme/frio/templates/wall_thread.tpl index 21792d41cf..25ad41bc3f 100644 --- a/view/theme/frio/templates/wall_thread.tpl +++ b/view/theme/frio/templates/wall_thread.tpl @@ -3,7 +3,7 @@ It would be better if it would be done in friendica core but since core lacks this functionality it is done in the theme -In short: the piece of code counts the total number of children of the toplevelpost +In short: the piece of code counts the total number of children of the toplevelpost - this are usaly all posts with thread_level = 2 - and stores it in variable $top_children_total. The first time a children which hits thread_level = 2 and $top_child = 1 opens the div. @@ -41,9 +41,9 @@ as the value of $top_child_total (this is done at the end of this file) {{if $item.thread_level<3}}

@@ -57,7 +57,9 @@ as the value of $top_child_total (this is done at the end of this file) @@ -73,7 +75,7 @@ as the value of $top_child_total (this is done at the end of this file) {{/if}}
{{* Put addional actions in a top-right dropdown menu *}} - +