X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Ftemplates%2Fwall_thread.tpl;h=bd069f5cd7e87f3cb6ed28784911f89f7d195a80;hb=b06fc578804fdc0073631e7c97eccd25543e769e;hp=daa02ef10d3c84611a73905b27ca6ed48d9915c4;hpb=39abfb547d6c9a9df854482e79912d894e87d441;p=friendica.git
diff --git a/view/theme/frio/templates/wall_thread.tpl b/view/theme/frio/templates/wall_thread.tpl
index daa02ef10d..bd069f5cd7 100644
--- a/view/theme/frio/templates/wall_thread.tpl
+++ b/view/theme/frio/templates/wall_thread.tpl
@@ -12,15 +12,15 @@ The div get's closed if thread_level = 2 and the value of $top_child_nr is the s
as the value of $top_child_total (this is done at the end of this file)
*}}
{{if $item.thread_level==1}}
- {{assign var="top_child_total" count($item.children)}}
- {{assign var="top_child_nr" 0}}
+ {{assign var="top_child_total" value=count($item.children)}}
+ {{assign var="top_child_nr" value=0}}
{{/if}}
{{if $item.thread_level==2}}
{{assign var="top_child_nr" value=$top_child_nr+1 scope=parent}}
{{/if}}
{{if $item.thread_level==2 && $top_child_nr==1}}
-
-
-
+
{{if $item.edited}}
{{$item.edited['label']}} ({{$item.edited['relative']}})
{{/if}}
@@ -286,9 +311,9 @@ as the value of $top_child_total (this is done at the end of this file)
-
+
{{* Action buttons to interact with the item (like: like, dislike, share and so on *}}
-
+
+ {{/if}}
+
+
+
@@ -357,25 +381,22 @@ as the value of $top_child_total (this is done at the end of this file)
{{if $item.responses}}
{{foreach $item.responses as $verb=>$response}}
-
{{$response.output}}
+
{{$response.output nofilter}}
{{/foreach}}
{{/if}}
+ {{* Insert comment box of threaded children *}}
+ {{if $item.threaded && $item.comment && $item.indent==comment}}
+
+ {{/if}}
+
{{if $item.thread_level!=1}}
-
{{/if}}
-
- {{* Insert comment box of threaded children *}}
- {{if $item.threaded}}{{if $item.comment}}{{if $item.indent==comment}}
-
- {{/if}}{{/if}}{{/if}}
-
-
{{foreach $item.children as $child}}
{{*
{{if $child.type == tag}}
@@ -390,33 +411,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.threaded}}{{if $item.comment}}{{if $item.thread_level==1}}
-
- {{/if}}{{/if}}{{/if}}
-
- {{if $item.flatten}}
-
- {{/if}}
- {{else}}
- {{if $item.threaded}}{{if $item.comment}}{{if $item.thread_level==1}}
-
- {{/if}}{{/if}}{{/if}}
-
- {{if $item.flatten}}
-
+ {{if $item.comment && $item.thread_level==1}}
+ {{if $item.total_comments_num}}
+
{{/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}}
{{$item.name}}
- {{$item.ago}} {{if $item.location}} — ({{$item.location}}){{/if}} + + {{$item.ago}} + {{if $item.location}} — ({{$item.location nofilter}}){{/if}} + {{if $item.owner_self}} + {{include file="sub/delivery_count.tpl" delivery=$item.delivery}} + {{/if}} +
{{$item.name}} - {{$item.ago}} {{if $item.location}} — ({{$item.location}}){{/if}} + + {{$item.ago}} + {{if $item.location}} — ({{$item.location nofilter}}){{/if}} + {{if $item.owner_self}} + {{include file="sub/delivery_count.tpl" delivery=$item.delivery}} + {{/if}} +
{{$item.title}}
{{/if}} -