aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/testbubble/conversation.tpl
diff options
context:
space:
mode:
authorSimon <simon@kisikew.org>2012-03-02 11:01:21 -0800
committerSimon <simon@kisikew.org>2012-03-02 11:01:21 -0800
commitf1efa0991a07b8d382370d80a269de597e378d00 (patch)
treed5d3dafa85f4972b86bd2e00653cf9cbc7882b39 /view/theme/testbubble/conversation.tpl
parente2e9050d748a5fca39ded6ca480a113ddca3a386 (diff)
parent81de5f780284f27964c8ec5147768450aa203f72 (diff)
downloadvolse-hubzilla-f1efa0991a07b8d382370d80a269de597e378d00.tar.gz
volse-hubzilla-f1efa0991a07b8d382370d80a269de597e378d00.tar.bz2
volse-hubzilla-f1efa0991a07b8d382370d80a269de597e378d00.zip
Merge pull request #60 from simonlnu/master
apply changes to templates to testbubble
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 }}