quattro: move comment box for top-level item at the end of comments list

This commit is contained in:
Fabrixxm 2012-08-10 04:53:39 -04:00
parent c4bff3d393
commit 0f15c117ee
4 changed files with 20 additions and 16 deletions

View file

@ -1,6 +1,8 @@
{{ for $threads as $item }}
<div id="tread-wrapper-$item.id" class="tread-wrapper {{ if $item.threaded }}threaded{{ endif }}">
{{ if $item.type == tag }}
{{ inc wall_item_tag.tpl }}{{ endinc }}
{{ else }}

View file

@ -19,7 +19,5 @@
</div>
{{ if $item.flatten }}
<div class="wall-item-comment-wrapper" >
$item.comment
</div>
<div class="wall-item-comment-wrapper" >$item.comment</div>
{{ endif }}

View file

@ -97,14 +97,14 @@
<div class="wall-item-like" id="wall-item-like-$item.id">$item.like</div>
<div class="wall-item-dislike" id="wall-item-dislike-$item.id">$item.dislike</div>
</div>
{{ if $item.threaded }}{{ if $item.comment }}
{{ if $item.threaded }}{{ if $item.comment }}{{ if $item.indent==comment }}
<div class="wall-item-bottom">
<div class="wall-item-links"></div>
<div class="wall-item-comment-wrapper">
$item.comment
$item.comment
</div>
</div>
{{ endif }}{{ endif }}
{{ endif }}{{ endif }}{{ endif }}
</div>
@ -124,8 +124,10 @@
{{if $item.comment_lastcollapsed}}</div>{{endif}}
{{ endif }}
{{ if $item.flatten }}
<div class="wall-item-comment-wrapper" >
$item.comment
</div>
{{ if $item.indent!=comment}}
<div class="wall-item-comment-wrapper" >$item.comment</div>
{{ endif }}
{{ if $item.flatten }}
<div class="wall-item-comment-wrapper" >$item.comment</div>
{{ endif }}

View file

@ -101,14 +101,14 @@
<div class="wall-item-dislike" id="wall-item-dislike-$item.id">$item.dislike</div>
</div>
{{ if $item.threaded }}{{ if $item.comment }}
{{ if $item.threaded }}{{ if $item.comment }}{{ if $item.indent==comment }}
<div class="wall-item-bottom">
<div class="wall-item-links"></div>
<div class="wall-item-comment-wrapper">
$item.comment
</div>
</div>
{{ endif }}{{ endif }}
{{ endif }}{{ endif }}{{ endif }}
</div>
@ -127,8 +127,10 @@
{{if $item.comment_lastcollapsed}}</div>{{endif}}
{{ endif }}
{{ if $item.flatten }}
<div class="wall-item-comment-wrapper" >
$item.comment
</div>
{{ if $item.indent!=comment}}
<div class="wall-item-comment-wrapper" >$item.comment</div>
{{ endif }}
{{ if $item.flatten }}
<div class="wall-item-comment-wrapper" >$item.comment</div>
{{ endif }}