diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2012-03-01 11:46:08 +0100 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2012-03-01 11:46:08 +0100 |
commit | ed42fa7d59f0eb979b3b5c86b6969c53d6b6573b (patch) | |
tree | 449df01597b27412161cbcb2c5baf9a696b84984 /view/theme/duepuntozero/conversation.tpl | |
parent | c462ed9fc50e2c2a60e8cb01314a7d5fa498b412 (diff) | |
download | volse-hubzilla-ed42fa7d59f0eb979b3b5c86b6969c53d6b6573b.tar.gz volse-hubzilla-ed42fa7d59f0eb979b3b5c86b6969c53d6b6573b.tar.bz2 volse-hubzilla-ed42fa7d59f0eb979b3b5c86b6969c53d6b6573b.zip |
conversation: remove templating items in code and move it to template.
Diffstat (limited to 'view/theme/duepuntozero/conversation.tpl')
-rwxr-xr-x | view/theme/duepuntozero/conversation.tpl | 14 |
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 }} |