quattro: move comment box for top-level item at the end of comments list
This commit is contained in:
parent
c4bff3d393
commit
0f15c117ee
4 changed files with 20 additions and 16 deletions
|
@ -1,6 +1,8 @@
|
||||||
{{ for $threads as $item }}
|
{{ for $threads as $item }}
|
||||||
|
|
||||||
<div id="tread-wrapper-$item.id" class="tread-wrapper {{ if $item.threaded }}threaded{{ endif }}">
|
<div id="tread-wrapper-$item.id" class="tread-wrapper {{ if $item.threaded }}threaded{{ endif }}">
|
||||||
|
|
||||||
|
|
||||||
{{ if $item.type == tag }}
|
{{ if $item.type == tag }}
|
||||||
{{ inc wall_item_tag.tpl }}{{ endinc }}
|
{{ inc wall_item_tag.tpl }}{{ endinc }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
|
|
|
@ -19,7 +19,5 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ if $item.flatten }}
|
{{ if $item.flatten }}
|
||||||
<div class="wall-item-comment-wrapper" >
|
<div class="wall-item-comment-wrapper" >$item.comment</div>
|
||||||
$item.comment
|
|
||||||
</div>
|
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
|
|
|
@ -97,14 +97,14 @@
|
||||||
<div class="wall-item-like" id="wall-item-like-$item.id">$item.like</div>
|
<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 class="wall-item-dislike" id="wall-item-dislike-$item.id">$item.dislike</div>
|
||||||
</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-bottom">
|
||||||
<div class="wall-item-links"></div>
|
<div class="wall-item-links"></div>
|
||||||
<div class="wall-item-comment-wrapper">
|
<div class="wall-item-comment-wrapper">
|
||||||
$item.comment
|
$item.comment
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{ endif }}{{ endif }}
|
{{ endif }}{{ endif }}{{ endif }}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -124,8 +124,10 @@
|
||||||
{{if $item.comment_lastcollapsed}}</div>{{endif}}
|
{{if $item.comment_lastcollapsed}}</div>{{endif}}
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
|
|
||||||
{{ if $item.flatten }}
|
{{ if $item.indent!=comment}}
|
||||||
<div class="wall-item-comment-wrapper" >
|
<div class="wall-item-comment-wrapper" >$item.comment</div>
|
||||||
$item.comment
|
{{ endif }}
|
||||||
</div>
|
|
||||||
|
{{ if $item.flatten }}
|
||||||
|
<div class="wall-item-comment-wrapper" >$item.comment</div>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
|
|
|
@ -101,14 +101,14 @@
|
||||||
<div class="wall-item-dislike" id="wall-item-dislike-$item.id">$item.dislike</div>
|
<div class="wall-item-dislike" id="wall-item-dislike-$item.id">$item.dislike</div>
|
||||||
</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-bottom">
|
||||||
<div class="wall-item-links"></div>
|
<div class="wall-item-links"></div>
|
||||||
<div class="wall-item-comment-wrapper">
|
<div class="wall-item-comment-wrapper">
|
||||||
$item.comment
|
$item.comment
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{ endif }}{{ endif }}
|
{{ endif }}{{ endif }}{{ endif }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
@ -127,8 +127,10 @@
|
||||||
{{if $item.comment_lastcollapsed}}</div>{{endif}}
|
{{if $item.comment_lastcollapsed}}</div>{{endif}}
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
|
|
||||||
{{ if $item.flatten }}
|
{{ if $item.indent!=comment}}
|
||||||
<div class="wall-item-comment-wrapper" >
|
<div class="wall-item-comment-wrapper" >$item.comment</div>
|
||||||
$item.comment
|
{{ endif }}
|
||||||
</div>
|
|
||||||
|
{{ if $item.flatten }}
|
||||||
|
<div class="wall-item-comment-wrapper" >$item.comment</div>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
|
|
Loading…
Reference in a new issue