aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/testbubble/conversation.tpl
diff options
context:
space:
mode:
authorSimon L'nu <simon.lnu@gmail.com>2012-03-02 13:59:28 -0500
committerSimon L'nu <simon.lnu@gmail.com>2012-03-02 13:59:28 -0500
commit81de5f780284f27964c8ec5147768450aa203f72 (patch)
treed5d3dafa85f4972b86bd2e00653cf9cbc7882b39 /view/theme/testbubble/conversation.tpl
parent02f8e95b1a4b44f140b2e871097673185158d8a5 (diff)
downloadvolse-hubzilla-81de5f780284f27964c8ec5147768450aa203f72.tar.gz
volse-hubzilla-81de5f780284f27964c8ec5147768450aa203f72.tar.bz2
volse-hubzilla-81de5f780284f27964c8ec5147768450aa203f72.zip
apply changes to templates to testbubble
Signed-off-by: Simon L'nu <simon.lnu@gmail.com>
Diffstat (limited to 'view/theme/testbubble/conversation.tpl')
-rwxr-xr-xview/theme/testbubble/conversation.tpl14
1 files changed, 13 insertions, 1 deletions
diff --git a/view/theme/testbubble/conversation.tpl b/view/theme/testbubble/conversation.tpl
index 33cedfb1e..43bb1dd47 100755
--- a/view/theme/testbubble/conversation.tpl
+++ b/view/theme/testbubble/conversation.tpl
@@ -1,6 +1,18 @@
{{ for $threads as $thread }}
<div id="tread-wrapper-$thread.id" class="tread-wrapper">
- $thread.html
+ {{ for $thread.items as $item }}
+ {{if $item.comment_firstcollapsed}}
+ <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>
+ </div>
+ <div id="collapsed-comments-$thread.id" class="collapsed-comments" style="display: none;">
+ {{endif}}
+ {{if $item.comment_lastcollapsed}}</div>{{endif}}
+
+ {{ inc $item.template }}{{ endinc }}
+
+
+ {{ endfor }}
</div>
{{ endfor }}