[non-Frio] Add edited date to post display
This commit is contained in:
parent
27691f64c0
commit
77e9143d3a
4 changed files with 31 additions and 18 deletions
|
@ -58,7 +58,8 @@
|
||||||
<div class="wall-item-content" id="wall-item-content-{{$item.id}}" >
|
<div class="wall-item-content" id="wall-item-content-{{$item.id}}" >
|
||||||
<div class="wall-item-title p-name" id="wall-item-title-{{$item.id}}">{{$item.title}}</div>
|
<div class="wall-item-title p-name" id="wall-item-title-{{$item.id}}">{{$item.title}}</div>
|
||||||
<div class="wall-item-title-end"></div>
|
<div class="wall-item-title-end"></div>
|
||||||
<div class="wall-item-body" id="wall-item-body-{{$item.id}}" ><span class="e-content">{{$item.body_html nofilter}}<span>
|
<div class="wall-item-body" id="wall-item-body-{{$item.id}}">
|
||||||
|
<span class="e-content">{{$item.body_html nofilter}}<span>
|
||||||
<div class="body-tag">
|
<div class="body-tag">
|
||||||
{{if !$item.suppress_tags}}
|
{{if !$item.suppress_tags}}
|
||||||
{{foreach $item.tags as $tag}}
|
{{foreach $item.tags as $tag}}
|
||||||
|
@ -75,6 +76,9 @@
|
||||||
<div class="filesavetags"><span>{{$item.txt_folders}} {{foreach $item.folders as $cat}}<span class="p-category">{{$cat.name}}</span>{{if $cat.removeurl}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a>{{/if}}{{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
|
<div class="filesavetags"><span>{{$item.txt_folders}} {{foreach $item.folders as $cat}}<span class="p-category">{{$cat.name}}</span>{{if $cat.removeurl}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a>{{/if}}{{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
{{if $item.edited}}
|
||||||
|
<div class="itemedited text-muted">{{$item.edited['label']}} (<span title="{{$item.edited['date']}}">{{$item.edited['relative']}}</span>)</div>
|
||||||
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="wall-item-tools" id="wall-item-tools-{{$item.id}}">
|
<div class="wall-item-tools" id="wall-item-tools-{{$item.id}}">
|
||||||
|
|
|
@ -76,6 +76,9 @@
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
{{if $item.edited}}
|
||||||
|
<div class="itemedited text-muted">{{$item.edited['label']}} (<span title="{{$item.edited['date']}}">{{$item.edited['relative']}}</span>)</div>
|
||||||
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
<div class="wall-item-bottom">
|
<div class="wall-item-bottom">
|
||||||
<div class="wall-item-links">
|
<div class="wall-item-links">
|
||||||
|
|
|
@ -62,7 +62,8 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="wall-item-title p-name" id="wall-item-title-{{$item.id}}">{{$item.title}}</div>
|
<div class="wall-item-title p-name" id="wall-item-title-{{$item.id}}">{{$item.title}}</div>
|
||||||
<div class="wall-item-title-end"></div>
|
<div class="wall-item-title-end"></div>
|
||||||
<div class="wall-item-body" id="wall-item-body-{{$item.id}}" ><span class="e-content">{{$item.body_html nofilter}}</span>
|
<div class="wall-item-body" id="wall-item-body-{{$item.id}}">
|
||||||
|
<span class="e-content">{{$item.body_html nofilter}}</span>
|
||||||
<div class="body-tag">
|
<div class="body-tag">
|
||||||
{{if !$item.suppress_tags}}
|
{{if !$item.suppress_tags}}
|
||||||
{{foreach $item.tags as $tag}}
|
{{foreach $item.tags as $tag}}
|
||||||
|
@ -84,7 +85,9 @@
|
||||||
{{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
|
{{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
{{if $item.edited}}
|
||||||
|
<div class="itemedited text-muted">{{$item.edited['label']}} (<span title="{{$item.edited['date']}}">{{$item.edited['relative']}}</span>)</div>
|
||||||
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="wall-item-social" id="wall-item-social-{{$item.id}}">
|
<div class="wall-item-social" id="wall-item-social-{{$item.id}}">
|
||||||
|
|
|
@ -96,6 +96,9 @@
|
||||||
<span class="category p-category"><a href="{{$cat.url}}">{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
|
<span class="category p-category"><a href="{{$cat.url}}">{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$remove}}">x</a>) {{/if}} </span>
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
</div>
|
</div>
|
||||||
|
{{if $item.edited}}
|
||||||
|
<div class="itemedited text-muted">{{$item.edited['label']}} (<span title="{{$item.edited['date']}}">{{$item.edited['relative']}}</span>)</div>
|
||||||
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
<div class="wall-item-bottom">
|
<div class="wall-item-bottom">
|
||||||
<div class="wall-item-links">
|
<div class="wall-item-links">
|
||||||
|
|
Loading…
Reference in a new issue