X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Ffrio%2Ftemplates%2Fwall_thread.tpl;h=c149b58a515edabedab9fc051469d09eb653614d;hb=01b7a3976ff1a00700c429db43fcbdec7158abca;hp=0ecceab0f16a98c7d07ff0a4b2a620c4d81bdce2;hpb=21a055f670149e67f2ad03da43f590c5329822e2;p=friendica.git diff --git a/view/theme/frio/templates/wall_thread.tpl b/view/theme/frio/templates/wall_thread.tpl index 0ecceab0f1..c149b58a51 100644 --- a/view/theme/frio/templates/wall_thread.tpl +++ b/view/theme/frio/templates/wall_thread.tpl @@ -12,8 +12,8 @@ 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}} @@ -55,15 +55,14 @@ as the value of $top_child_total (this is done at the end of this file) {{/if}} {{/if}} - +{{* TODO => Unknown block *}} - - +{{* /TODO => Unknown block *}} {{* Use a different div container in dependence max thread-level = 7 *}} @@ -203,12 +202,21 @@ as the value of $top_child_total (this is done at the end of this file)
- + + + + + + + {{if $item.owner_self}} + {{include file="sub/delivery_count.tpl" delivery=$item.delivery}} + {{/if}} +
{{if $item.location}}
- ({{$item.location}}) + ({{$item.location nofilter}})
{{/if}}
@@ -220,7 +228,13 @@ as the value of $top_child_total (this is done at the end of this file)
{{$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}} +

@@ -233,7 +247,13 @@ as the value of $top_child_total (this is done at the end of this file)
{{$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}} +
@@ -264,20 +284,20 @@ as the value of $top_child_total (this is done at the end of this file)
{{if !$item.suppress_tags}} {{foreach $item.hashtags as $tag}} - {{$tag}} + {{$tag nofilter}} {{/foreach}} {{foreach $item.mentions as $tag}} - {{$tag}} + {{$tag nofilter}} {{/foreach}} {{/if}} {{foreach $item.folders as $cat}} - {{$cat.name}}{{if $cat.removeurl}} (x) {{/if}} + {{$cat.name}}{{if $cat.removeurl}} (x) {{/if}} {{/foreach}} {{foreach $item.categories as $cat}} - {{$cat.name}}{{if $cat.removeurl}} (x) {{/if}} + {{$cat.name}}{{if $cat.removeurl}} (x) {{/if}} {{/foreach}}
{{if $item.edited}}
{{$item.edited['label']}} ({{$item.edited['relative']}})
{{/if}}