diff --git a/view/templates/wall_thread.tpl b/view/templates/wall_thread.tpl index 1d1a766c9..893bd7291 100644 --- a/view/templates/wall_thread.tpl +++ b/view/templates/wall_thread.tpl @@ -58,23 +58,27 @@ <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-end"></div> - <div class="wall-item-body" id="wall-item-body-{{$item.id}}" ><span class="e-content">{{$item.body_html nofilter}}<span> - <div class="body-tag"> - {{if !$item.suppress_tags}} - {{foreach $item.tags as $tag}} - <span class="tag">{{$tag nofilter}}</span> - {{/foreach}} - {{/if}} - </div> - {{if $item.has_cats}} - <div class="categorytags"><span>{{$item.txt_cats}} {{foreach $item.categories as $cat}}<span class="p-category"><a href="{{$cat.url}}">{{$cat.name}}</a></span>{{if $cat.removeurl}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a>{{/if}} {{if $cat.last}}{{else}}, {{/if}}{{/foreach}} - </div> - {{/if}} + <div class="wall-item-body" id="wall-item-body-{{$item.id}}"> + <span class="e-content">{{$item.body_html nofilter}}<span> + <div class="body-tag"> + {{if !$item.suppress_tags}} + {{foreach $item.tags as $tag}} + <span class="tag">{{$tag nofilter}}</span> + {{/foreach}} + {{/if}} + </div> + {{if $item.has_cats}} + <div class="categorytags"><span>{{$item.txt_cats}} {{foreach $item.categories as $cat}}<span class="p-category"><a href="{{$cat.url}}">{{$cat.name}}</a></span>{{if $cat.removeurl}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a>{{/if}} {{if $cat.last}}{{else}}, {{/if}}{{/foreach}} + </div> + {{/if}} - {{if $item.has_folders}} - <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> - {{/if}} + {{if $item.has_folders}} + <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> + {{/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 class="wall-item-tools" id="wall-item-tools-{{$item.id}}"> diff --git a/view/theme/quattro/templates/wall_thread.tpl b/view/theme/quattro/templates/wall_thread.tpl index c53bd46c8..f7d4b0f8c 100644 --- a/view/theme/quattro/templates/wall_thread.tpl +++ b/view/theme/quattro/templates/wall_thread.tpl @@ -76,6 +76,9 @@ {{/foreach}} {{/if}} </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 class="wall-item-bottom"> <div class="wall-item-links"> diff --git a/view/theme/smoothly/templates/wall_thread.tpl b/view/theme/smoothly/templates/wall_thread.tpl index 1554a2ecb..6fd787afe 100644 --- a/view/theme/smoothly/templates/wall_thread.tpl +++ b/view/theme/smoothly/templates/wall_thread.tpl @@ -62,7 +62,8 @@ </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-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"> {{if !$item.suppress_tags}} {{foreach $item.tags as $tag}} @@ -84,7 +85,9 @@ {{if $cat.last}}{{else}}, {{/if}}{{/foreach}} </div> {{/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 class="wall-item-social" id="wall-item-social-{{$item.id}}"> diff --git a/view/theme/vier/templates/wall_thread.tpl b/view/theme/vier/templates/wall_thread.tpl index 94525c492..7a04b5efe 100644 --- a/view/theme/vier/templates/wall_thread.tpl +++ b/view/theme/vier/templates/wall_thread.tpl @@ -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> {{/foreach}} </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 class="wall-item-bottom"> <div class="wall-item-links">