aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/testbubble/conversation.tpl
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2012-03-06 09:48:08 +0100
committerFabio Comuni <fabrix.xm@gmail.com>2012-03-06 09:48:08 +0100
commitbe9985a3aed1bfbbc6964973e2f12d0bd7928c04 (patch)
tree4fc044f6200f010778363a8de72671f45c259eaa /view/theme/testbubble/conversation.tpl
parent8a51e29824fc2569ac1d0def3070bee7c0552231 (diff)
parentd04fba704861fa27184346d0cefe2069ec8cfa6d (diff)
downloadvolse-hubzilla-be9985a3aed1bfbbc6964973e2f12d0bd7928c04.tar.gz
volse-hubzilla-be9985a3aed1bfbbc6964973e2f12d0bd7928c04.tar.bz2
volse-hubzilla-be9985a3aed1bfbbc6964973e2f12d0bd7928c04.zip
Merge remote-tracking branch 'friendica/master'
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 }}