From: Hypolite Petovan Date: Sat, 5 Nov 2016 01:19:07 +0000 (-0400) Subject: [frio] fix wall_thread.tpl error with unstareable items X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=98d52bc56820190f6431ae013c01065dd56a5e6d;p=friendica.git [frio] fix wall_thread.tpl error with unstareable items --- 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 *}} - +