aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/duepuntozero/conversation.tpl
diff options
context:
space:
mode:
authorfabrixxm <fabrix.xm@gmail.com>2012-03-02 00:00:03 -0800
committerfabrixxm <fabrix.xm@gmail.com>2012-03-02 00:00:03 -0800
commit3a609adfb77a94d5b8681496a9306d9cf4efcafb (patch)
tree153968c7a8ac649be69438ff5374863735699bab /view/theme/duepuntozero/conversation.tpl
parentf55ffcd48ce5c0b3254ae1a02fda7b29d875fa09 (diff)
parentb6b7742579d16a4eab97249758a62c5ff33bd07d (diff)
downloadvolse-hubzilla-3a609adfb77a94d5b8681496a9306d9cf4efcafb.tar.gz
volse-hubzilla-3a609adfb77a94d5b8681496a9306d9cf4efcafb.tar.bz2
volse-hubzilla-3a609adfb77a94d5b8681496a9306d9cf4efcafb.zip
Merge pull request #55 from fabrixxm/master
Some minor and one majior mod in templates
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 }}