aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfabrixxm <fabrix.xm@gmail.com>2012-06-14 09:12:52 -0400
committerfabrixxm <fabrix.xm@gmail.com>2012-06-14 09:25:18 -0400
commit2f5e891cd174c6314f3ba5c31f9672595462a22c (patch)
tree69c204871fadb18a230ff71b56af2df01354a220
parente68e9ec5f49aeaec550dfe46aa26ad69c4e1e785 (diff)
downloadvolse-hubzilla-2f5e891cd174c6314f3ba5c31f9672595462a22c.tar.gz
volse-hubzilla-2f5e891cd174c6314f3ba5c31f9672595462a22c.tar.bz2
volse-hubzilla-2f5e891cd174c6314f3ba5c31f9672595462a22c.zip
quattro theme: show uncollapsed comments on display page
-rw-r--r--view/theme/quattro/conversation.tpl5
1 files changed, 4 insertions, 1 deletions
diff --git a/view/theme/quattro/conversation.tpl b/view/theme/quattro/conversation.tpl
index a30ff187c..7ca3daea7 100644
--- a/view/theme/quattro/conversation.tpl
+++ b/view/theme/quattro/conversation.tpl
@@ -1,6 +1,8 @@
{{ for $threads as $thread }}
<div id="tread-wrapper-$thread.id" class="tread-wrapper">
{{ for $thread.items as $item }}
+ {{if $mode == display}}
+ {{ else }}
{{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>
@@ -8,7 +10,8 @@
<div id="collapsed-comments-$thread.id" class="collapsed-comments" style="display: none;">
{{endif}}
{{if $item.comment_lastcollapsed}}</div>{{endif}}
-
+ {{ endif }}
+
{{ if $item.type == tag }}
{{ inc wall_item_tag.tpl }}{{ endinc }}
{{ else }}