Normalize item location template variable name
This commit is contained in:
parent
c767325257
commit
9ff228812f
14 changed files with 21 additions and 33 deletions
|
@ -66,9 +66,9 @@
|
|||
<small><a href="{{$item.plink.orig}}"><span class="time" title="{{$item.localtime}}" data-toggle="tooltip">{{$item.ago}}</span></a></small>
|
||||
</div>
|
||||
|
||||
{{if $item.location}}
|
||||
{{if $item.location_html}}
|
||||
<div id="wall-item-location-{{$item.id}}" class="wall-item-location">
|
||||
<small><span class="location">({{$item.location nofilter}})</span></small>
|
||||
<small><span class="location">({{$item.location_html nofilter}})</span></small>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
@ -81,7 +81,7 @@
|
|||
<h5 class="media-heading">
|
||||
<a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link userinfo hover-card"><span>{{$item.name}}</span></a>
|
||||
<p class="text-muted"><small>
|
||||
<span class="wall-item-ago">{{$item.ago}}</span> {{if $item.location}} — ({{$item.location nofilter}}){{/if}}</small>
|
||||
<span class="wall-item-ago">{{$item.ago}}</span> {{if $item.location_html}} — ({{$item.location_html nofilter}}){{/if}}</small>
|
||||
</p>
|
||||
</h5>
|
||||
</div>
|
||||
|
|
|
@ -186,9 +186,9 @@ as the value of $top_child_total (this is done at the end of this file)
|
|||
</small>
|
||||
</div>
|
||||
|
||||
{{if $item.location}}
|
||||
{{if $item.location_html}}
|
||||
<div id="wall-item-location-{{$item.id}}" class="wall-item-location">
|
||||
<small><span class="location">({{$item.location nofilter}})</span></small>
|
||||
<small><span class="location">({{$item.location_html nofilter}})</span></small>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
@ -202,7 +202,7 @@ as the value of $top_child_total (this is done at the end of this file)
|
|||
<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 nofilter}}){{/if}}
|
||||
{{if $item.location_html}} — ({{$item.location_html nofilter}}){{/if}}
|
||||
{{if $item.owner_self}}
|
||||
{{include file="sub/delivery_count.tpl" delivery=$item.delivery}}
|
||||
{{/if}}
|
||||
|
@ -221,7 +221,7 @@ as the value of $top_child_total (this is done at the end of this file)
|
|||
<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 nofilter}}){{/if}}
|
||||
{{if $item.location_html}} — ({{$item.location_html nofilter}}){{/if}}
|
||||
{{if $item.owner_self}}
|
||||
{{include file="sub/delivery_count.tpl" delivery=$item.delivery}}
|
||||
{{/if}}
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
</ul>
|
||||
|
||||
</div>
|
||||
<div class="wall-item-location">{{$item.location nofilter}}</div>
|
||||
<div class="wall-item-location">{{$item.location_html nofilter}}</div>
|
||||
</div>
|
||||
<div class="wall-item-content">
|
||||
{{if $item.title}}<h2><a href="{{$item.plink.href}}">{{$item.title}}</a></h2>{{/if}}
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
</ul>
|
||||
|
||||
</div>
|
||||
<div class="wall-item-location">{{$item.location nofilter}}</div>
|
||||
<div class="wall-item-location">{{$item.location_html nofilter}}</div>
|
||||
</div>
|
||||
<div class="wall-item-content">
|
||||
{{$item.ago}} {{$item.body nofilter}}
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
</a>
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="wall-item-location">{{$item.location nofilter}}</div>
|
||||
<div class="wall-item-location">{{$item.location_html nofilter}}</div>
|
||||
</div>
|
||||
<div class="wall-item-content">
|
||||
{{if $item.title}}<h2><a href="{{$item.plink.href}}" class="{{$item.sparkle}} p-name">{{$item.title}}</a></h2>{{/if}}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="wall-item-photo-end"></div>
|
||||
<div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{if $item.location}}<span class="icon globe"></span>{{$item.location nofilter}} {{/if}}</div>
|
||||
<div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{if $item.location_html}}<span class="icon globe"></span>{{$item.location_html nofilter}} {{/if}}</div>
|
||||
</div>
|
||||
<div class="wall-item-lock-wrapper">
|
||||
{{if $item.lock}}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="{{$item.lock}}" onclick="lockview(event, 'item', {{$item.id}});" /></div>
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
</div>
|
||||
<div class="wall-item-photo-end"></div>
|
||||
<div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{if $item.location}}<span class="icon globe"></span>{{$item.location nofilter}} {{/if}}</div>
|
||||
<div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{if $item.location_html}}<span class="icon globe"></span>{{$item.location_html nofilter}} {{/if}}</div>
|
||||
</div>
|
||||
<div class="wall-item-lock-wrapper">
|
||||
{{if $item.lock}}
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
</div>
|
||||
<div class="wall-item-actions">
|
||||
|
||||
<div class="wall-item-location">{{$item.location nofilter}} </div>
|
||||
<div class="wall-item-location">{{$item.location_html nofilter}} </div>
|
||||
|
||||
<div class="wall-item-actions-social">
|
||||
{{if $item.star}}
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
</ul>
|
||||
|
||||
</div>
|
||||
<div class="wall-item-location">{{$item.location nofilter}}</div>
|
||||
<div class="wall-item-location">{{$item.location_html nofilter}}</div>
|
||||
</div>
|
||||
<div class="wall-item-content">
|
||||
{{$item.ago}} {{$item.body nofilter}}
|
||||
|
|
|
@ -150,7 +150,7 @@
|
|||
{{/if}}
|
||||
</div>
|
||||
|
||||
<div class="wall-item-location">{{$item.location nofilter}} {{$item.postopts}}</div>
|
||||
<div class="wall-item-location">{{$item.location_html nofilter}} {{$item.postopts}}</div>
|
||||
|
||||
<div class="wall-item-actions-isevent">
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue