]> git.mxchange.org Git - friendica.git/blob - view/theme/quattro/conversation.tpl
quattro theme: show uncollapsed comments on display page
[friendica.git] / view / theme / quattro / conversation.tpl
1 {{ for $threads as $thread }}
2 <div id="tread-wrapper-$thread.id" class="tread-wrapper">
3         {{ for $thread.items as $item }}
4         {{if $mode == display}}
5         {{ else }}
6                 {{if $item.comment_firstcollapsed}}
7                         <div class="hide-comments-outer">
8                         <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>
9                         </div>
10                         <div id="collapsed-comments-$thread.id" class="collapsed-comments" style="display: none;">
11                 {{endif}}
12                 {{if $item.comment_lastcollapsed}}</div>{{endif}}
13         {{ endif }}
14         
15                 {{ if $item.type == tag }}
16                         {{ inc wall_item_tag.tpl }}{{ endinc }}
17                 {{ else }}
18                         {{ inc $item.template }}{{ endinc }}
19                 {{ endif }}
20                 
21         {{ endfor }}
22 </div>
23 {{ endfor }}
24
25 <div id="conversation-end"></div>
26
27 {{ if $dropping }}
28 <a href="#" onclick="deleteCheckedItems();return false;">
29         <span class="icon s22 delete text">$dropping</span>
30 </a>
31 {{ endif }}