]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/quattro/conversation.tpl
quattro theme: show uncollapsed comments on display page
[friendica.git] / view / theme / quattro / conversation.tpl
index ff202bbe44077569c23de4c00710d2a42265b607..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>
                        <div id="collapsed-comments-$thread.id" class="collapsed-comments" style="display: none;">
                {{endif}}
                {{if $item.comment_lastcollapsed}}</div>{{endif}}
-               
-               {{ inc $item.template }}{{ endinc }}
-               
+        {{ endif }}
+        
+               {{ if $item.type == tag }}
+                       {{ inc wall_item_tag.tpl }}{{ endinc }}
+               {{ else }}
+                       {{ inc $item.template }}{{ endinc }}
+               {{ endif }}
                
        {{ endfor }}
 </div>
 {{ endfor }}
 
+<div id="conversation-end"></div>
+
 {{ if $dropping }}
 <a href="#" onclick="deleteCheckedItems();return false;">
        <span class="icon s22 delete text">$dropping</span>