]> git.mxchange.org Git - friendica.git/commitdiff
quattro theme: show uncollapsed comments on display page
authorfabrixxm <fabrix.xm@gmail.com>
Thu, 14 Jun 2012 13:12:52 +0000 (09:12 -0400)
committerfabrixxm <fabrix.xm@gmail.com>
Thu, 14 Jun 2012 13:25:18 +0000 (09:25 -0400)
view/theme/quattro/conversation.tpl

index a30ff187ca58d74fb6d12a5625522a4165ab4538..7ca3daea7f6c5e1ae61f04fbf178527890db25a4 100644 (file)
@@ -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 }}