X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Ftemplates%2Fwall_thread.tpl;h=29e0c64636341aa6fa7e66523cc56178f7b52097;hb=37131a6785c70882c7da83d63de13167ff8e5290;hp=b4cd291b013e5b8cabdae41d3674ce2021ea20a8;hpb=33a7cd107ebc3974d3cc8b7ecd10c1a1662284f3;p=friendica.git diff --git a/view/theme/frio/templates/wall_thread.tpl b/view/theme/frio/templates/wall_thread.tpl index b4cd291b01..29e0c64636 100644 --- a/view/theme/frio/templates/wall_thread.tpl +++ b/view/theme/frio/templates/wall_thread.tpl @@ -4,7 +4,7 @@ It would be better if it would be done in friendica core but since core lacks th it is done in the theme 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. +- this are usually 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. Everytime when a children with top_level = 2 comes up $top_child_nr rises with 1. @@ -22,7 +22,7 @@ as the value of $top_child_total (this is done at the end of this file) {{if $item.thread_level==2 && $top_child_nr==1}}
{{$item.name}} + {{if $item.connector}} + + {{else}} + + + + {{/if}}
@@ -236,7 +232,7 @@ as the value of $top_child_total (this is done at the end of this file) - {{* Insert Line to seperate item header and item content visually *}} + {{* Insert Line to separate item header and item content visually *}} {{if $item.thread_level==1}}
- {{$item.drop.delete}}
+ {{$item.drop.label}}
{{/if}}
{{if $item.block}}
- {{$item.block.block}}
+ {{$item.block.label}}
{{/if}}
{{if $item.ignore_author}}
- {{$item.ignore_author.ignore}}
+ {{$item.ignore_author.label}}
+
+ {{/if}}
+ {{if $item.collapse}}
+
+ {{$item.collapse.label}}
+
{{/if}}
@@ -558,7 +560,7 @@ as the value of $top_child_total (this is done at the end of this file)
{{if $item.drop && $item.drop.dropping}}
- {{$item.drop.delete}}
+ {{$item.drop.label}}
{{/if}}
{{/if}} {{* item content *}} @@ -394,18 +390,24 @@ as the value of $top_child_total (this is done at the end of this file) {{if $item.drop && $item.drop.dropping}}