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}}
-<!-- TODO => Unknow block -->
+{{* TODO => Unknown block *}}
<div class="wall-item-decor" style="display:none;">
{{if $item.star}}
<span class="icon s22 star {{$item.isstarred}}" id="starred-{{$item.id}}" title="{{$item.star.starred}}">{{$item.star.starred}}</span>
{{/if}}
{{if $item.lock}}<span class="navicon lock fakelink" onclick="lockview(event,{{$item.id}});" title="{{$item.lock}}"></span><span class="fa fa-lock"></span>{{/if}}
</div>
-<!-- ./TODO => Unknow block -->
-
+{{* /TODO => Unknown block *}}
{{* Use a different div container in dependence max thread-level = 7 *}}
<div class="additional-info text-muted">
<div id="wall-item-ago-{{$item.id}}" class="wall-item-ago">
- <small><a href="{{$item.plink.orig}}"><span class="time" title="{{$item.localtime}}" data-toggle="tooltip"><time class="dt-published" datetime="{{$item.localtime}}">{{$item.ago}}</time></span></a></small>
+ <small>
+ <a href="{{$item.plink.orig}}">
+ <span class="time" title="{{$item.localtime}}" data-toggle="tooltip">
+ <time class="dt-published" datetime="{{$item.localtime}}">{{$item.ago}}</time>
+ </span>
+ </a>
+ {{if $item.owner_self}}
+ {{include file="sub/delivery_count.tpl" delivery=$item.delivery}}
+ {{/if}}
+ </small>
</div>
{{if $item.location}}
<div id="wall-item-location-{{$item.id}}" class="wall-item-location">
- <small><span class="location">({{$item.location}})</span></small>
+ <small><span class="location">({{$item.location nofilter}})</span></small>
</div>
{{/if}}
</div>
<h5 class="media-heading">
<a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link userinfo"><span>{{$item.name}}</span></a>
<p class="text-muted">
- <small><a class="time" href="{{$item.plink.orig}}"><span class="wall-item-ago">{{$item.ago}}</span></a> {{if $item.location}} — ({{$item.location}}){{/if}}</small>
+ <small>
+ <a class="time" href="{{$item.plink.orig}}"><span class="wall-item-ago">{{$item.ago}}</span></a>
+ {{if $item.location}} — ({{$item.location nofilter}}){{/if}}
+ {{if $item.owner_self}}
+ {{include file="sub/delivery_count.tpl" delivery=$item.delivery}}
+ {{/if}}
+ </small>
</p>
</h5>
</div>
<h5 class="media-heading">
<a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link userinfo"><span class="fakelink">{{$item.name}}</span></a>
<span class="text-muted">
- <small><a class="time" href="{{$item.plink.orig}}" title="{{$item.localtime}}" data-toggle="tooltip">{{$item.ago}}</a> {{if $item.location}} — ({{$item.location}}){{/if}}</small>
+ <small>
+ <a class="time" href="{{$item.plink.orig}}" title="{{$item.localtime}}" data-toggle="tooltip">{{$item.ago}}</a>
+ {{if $item.location}} — ({{$item.location nofilter}}){{/if}}
+ {{if $item.owner_self}}
+ {{include file="sub/delivery_count.tpl" delivery=$item.delivery}}
+ {{/if}}
+ </small>
</span>
</h5>
</div>
<div class="wall-item-tags">
{{if !$item.suppress_tags}}
{{foreach $item.hashtags as $tag}}
- <span class="tag label btn-info sm">{{$tag}} <i class="fa fa-bolt" aria-hidden="true"></i></span>
+ <span class="tag label btn-info sm">{{$tag nofilter}} <i class="fa fa-bolt" aria-hidden="true"></i></span>
{{/foreach}}
{{foreach $item.mentions as $tag}}
- <span class="mention label btn-warning sm">{{$tag}} <i class="fa fa-user" aria-hidden="true"></i></span>
+ <span class="mention label btn-warning sm">{{$tag nofilter}} <i class="fa fa-user" aria-hidden="true"></i></span>
{{/foreach}}
{{/if}}