friendica-github/view/templates/conversation.tpl

36 lines
1.3 KiB
Smarty
Raw Permalink Normal View History

2024-08-24 18:23:27 +00:00
{{*
* Copyright (C) 2010-2024, the Friendica project
* SPDX-FileCopyrightText: 2010-2024 the Friendica project
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*}}
{{$live_update nofilter}}
2013-04-23 11:47:57 +00:00
{{foreach $threads as $thread}}
<div id="tread-wrapper-{{$thread.id}}" class="tread-wrapper">
{{foreach $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;">
{{/if}}
{{if $item.comment_lastcollapsed}}</div>{{/if}}
{{include file="{{$item.template}}"}}
{{/foreach}}
</div>
{{/foreach}}
2020-10-20 20:43:51 +00:00
{{if !$update}}
2013-04-23 11:47:57 +00:00
<div id="conversation-end"></div>
{{if $dropping}}
<div id="item-delete-selected" class="fakelink" onclick="deleteCheckedItems();">
<div id="item-delete-selected-icon" class="icon drophide" title="{{$dropping}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);"></div>
<div id="item-delete-selected-desc">{{$dropping}}</div>
2013-04-23 11:47:57 +00:00
</div>
<div id="item-delete-selected-end"></div>
{{/if}}
2020-10-20 20:43:51 +00:00
{{/if}}