X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Ftemplates%2Fwall_thread.tpl;h=1977f541c231562bad5b0d529b1ac3fb811f8ed8;hb=c407fb7963cd40813531e29bdc8a6b43c16725d8;hp=21792d41cfbdae6c4cf0caccff0355f1f3dcb28c;hpb=2e9d233367068fceac8005126d14a2002539c772;p=friendica.git diff --git a/view/theme/frio/templates/wall_thread.tpl b/view/theme/frio/templates/wall_thread.tpl index 21792d41cf..0ecceab0f1 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. @@ -40,11 +40,11 @@ as the value of $top_child_total (this is done at the end of this file) {{if $item.thread_level<3}}
-
@@ -57,9 +57,10 @@ as the value of $top_child_total (this is done at the end of this file) @@ -67,49 +68,61 @@ as the value of $top_child_total (this is done at the end of this file) {{* Use a different div container in dependence max thread-level = 7 *}} {{if $item.thread_level<7}} -
+
{{else}} -
- {{/if}} +
+{{/if}} +{{if $item.thread_level==1}} + + + + +{{/if}}
{{* Put addional actions in a top-right dropdown menu *}} - +