quattro: move comment box for top-level item at the end of comments list
This commit is contained in:
parent
c4bff3d393
commit
0f15c117ee
|
@ -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 }}
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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 }}
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue