aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/duepuntozero/conversation.tpl
diff options
context:
space:
mode:
authorMichael <icarus@dabo.de>2012-03-02 10:34:18 +0100
committerMichael <icarus@dabo.de>2012-03-02 10:34:18 +0100
commit20817b4b8ea8b7d074d57a3fd752862931cf711c (patch)
treefd0344bd209043c4d8191ef68dceb1499cf7dd9a /view/theme/duepuntozero/conversation.tpl
parent52ea842e872cc004fd012496c828e9fb6186bec9 (diff)
parentf1bf6dcdfb89bf3c21e498ba3d76c600dafed934 (diff)
downloadvolse-hubzilla-20817b4b8ea8b7d074d57a3fd752862931cf711c.tar.gz
volse-hubzilla-20817b4b8ea8b7d074d57a3fd752862931cf711c.tar.bz2
volse-hubzilla-20817b4b8ea8b7d074d57a3fd752862931cf711c.zip
Merge remote branch 'upstream/master'
Diffstat (limited to 'view/theme/duepuntozero/conversation.tpl')
-rwxr-xr-xview/theme/duepuntozero/conversation.tpl14
1 files changed, 13 insertions, 1 deletions
diff --git a/view/theme/duepuntozero/conversation.tpl b/view/theme/duepuntozero/conversation.tpl
index 33cedfb1e..43bb1dd47 100755
--- a/view/theme/duepuntozero/conversation.tpl
+++ b/view/theme/duepuntozero/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 }}