quattro theme: show uncollapsed comments on display page
This commit is contained in:
parent
e68e9ec5f4
commit
2f5e891cd1
1 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
||||||
{{ for $threads as $thread }}
|
{{ for $threads as $thread }}
|
||||||
<div id="tread-wrapper-$thread.id" class="tread-wrapper">
|
<div id="tread-wrapper-$thread.id" class="tread-wrapper">
|
||||||
{{ for $thread.items as $item }}
|
{{ for $thread.items as $item }}
|
||||||
|
{{if $mode == display}}
|
||||||
|
{{ else }}
|
||||||
{{if $item.comment_firstcollapsed}}
|
{{if $item.comment_firstcollapsed}}
|
||||||
<div class="hide-comments-outer">
|
<div class="hide-comments-outer">
|
||||||
<span id="hide-comments-total-$thread.id" class="hide-comments-total">$thread.num_comments</span> <span id="hide-comments-$thread.id" class="hide-comments fakelink" onclick="showHideComments($thread.id);">$thread.hide_text</span>
|
<span id="hide-comments-total-$thread.id" class="hide-comments-total">$thread.num_comments</span> <span id="hide-comments-$thread.id" class="hide-comments fakelink" onclick="showHideComments($thread.id);">$thread.hide_text</span>
|
||||||
|
@ -8,7 +10,8 @@
|
||||||
<div id="collapsed-comments-$thread.id" class="collapsed-comments" style="display: none;">
|
<div id="collapsed-comments-$thread.id" class="collapsed-comments" style="display: none;">
|
||||||
{{endif}}
|
{{endif}}
|
||||||
{{if $item.comment_lastcollapsed}}</div>{{endif}}
|
{{if $item.comment_lastcollapsed}}</div>{{endif}}
|
||||||
|
{{ endif }}
|
||||||
|
|
||||||
{{ if $item.type == tag }}
|
{{ if $item.type == tag }}
|
||||||
{{ inc wall_item_tag.tpl }}{{ endinc }}
|
{{ inc wall_item_tag.tpl }}{{ endinc }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
|
|
Loading…
Reference in a new issue