quattro: fix shiny items with threads. fix 'tagged' template

This commit is contained in:
Fabrixxm 2012-11-09 11:24:49 -05:00
parent 41dfc7f29e
commit c8b4ce9cca
2 changed files with 12 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{{ if $item.thread_level!=1 }}<div class="children">{{ endif }}
<div class="wall-item-container item-tag $item.indent">
<div class="wall-item-container item-tag $item.indent $item.shiny">
<div class="wall-item-item">
<div class="wall-item-info">
<div class="contact-photo-wrapper">
@ -17,6 +17,14 @@
<div class="wall-item-content">
$item.ago $item.body
</div>
<div class="wall-item-tools">
{{ if $item.drop.pagedrop }}
<input type="checkbox" title="$item.drop.select" name="itemselected[]" class="item-select" value="$item.id" />
{{ endif }}
{{ if $item.drop.dropping }}
<a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon delete s16" title="$item.drop.delete">$item.drop.delete</a>
{{ endif }}
</div>
</div>
</div>

View file

@ -27,7 +27,7 @@
<img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
</div>
<div class="wall-item-container $item.indent" id="item-$item.id">
<div class="wall-item-container $item.indent $item.shiny" id="item-$item.id">
<div class="wall-item-item">
<div class="wall-item-info">
<div class="contact-photo-wrapper mframe{{ if $item.owner_url }} wwfrom{{ endif }}"
@ -143,7 +143,7 @@
{{ for $item.children as $child }}
{{ if $item.type == tag }}
{{ if $child.type == tag }}
{{ inc wall_item_tag.tpl with $item=$child }}{{ endinc }}
{{ else }}
{{ inc $item.template with $item=$child }}{{ endinc }}
@ -158,6 +158,7 @@
{{if $item.comment_lastcollapsed}}</div>{{endif}}
{{ endif }}
{# top thread comment box #}
{{if $item.threaded}}{{if $item.comment}}{{if $item.thread_level==1}}
<div class="wall-item-comment-wrapper" >$item.comment</div>
{{ endif }}{{ endif }}{{ endif }}