1
1
Fork 0
friendica_2019-12_sharedHos.../view/theme/frio/templates/photo_item.tpl

62 lines
2.2 KiB
Smarty
Raw Normal View History

<div class="wall-item-outside-wrapper{{$indent}} media" id="wall-item-outside-wrapper-{{$id}}">
<ul class="nav nav-pills preferences">
{{* The time of the comment *}}
<li><span><small><time class="dt-published">{{$ago}}</time></small></span></li>
{{* Dropdown menu with actions (e.g. delete comment) *}}
{{if $drop.dropping }}
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" id="dropdownMenuTools-{{$id}}" role="button" aria-haspopup="true" aria-expanded="false"><i class="fa fa-angle-down"></i></a>
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="dropdownMenuTools-{{$id}}">
<li role="menuitem">
<a onclick="dropItem('item/drop/{{$id}}', '#wall-item-outside-wrapper-{{$id}}'); return false;" class="delete" title="{{$drop.delete}}"><i class="fa fa-trash"></i>&nbsp;{{$drop.delete}}</a>
</li>
</ul>
</li>
{{/if}}
</ul>
{{* avatar picture *}}
<div class="contact-photo-wrapper mframe p-author h-card pull-left">
<a class="userinfo" id="wall-item-photo-menu-{{$id}} u-url" href="{{$profile_url}}">
<div class="contact-photo-image-wrapper">
<img src="{{$thumb}}" class="contact-photo-xs media-object p-name u-photo" id="wall-item-photo-{{$item.id}}" alt="{{$name}}" />
</div>
</a>
</div>
<div class="media-body">
{{* the header with the comment author name *}}
<div role="heading " class="contact-info-comment">
<h5 class="media-heading">
<a href="{{$profile_url}}" title="View {{$name}}'s profile" class="wall-item-name-link userinfo"><span class="btn-link">{{$name}}</span></a>
</h5>
</div>
{{* comment content *}}
<div itemprop="description" class="wall-item-content" id="wall-item-content-{{$id}}">
{{if $title}}
<div class="wall-item-title" id="wall-item-title-{{$id}}">{{$title}}</div>
{{/if}}
<div class="wall-item-body {{if !$title}}p-name{{/if}}" id="wall-item-body-{{$id}}" >{{$body}}</div>
</div>
<div class="wall-item-wrapper-end clear"></div>
<div class="wall-item-comment-separator"></div>
{{* comment text field *}}
{{if $comment}}
<div class="wall-item-comment-wrapper" id="item-comments-{{$item.id}}">
{{$comment}}
</div>
{{/if}}
</div>
<div class="wall-item-outside-wrapper-end{{$indent}} clear"></div>
</div>