]> git.mxchange.org Git - friendica.git/blob - view/theme/frio/templates/photo_item.tpl
Remove deprecated method to find duplicates (issue from 2013)
[friendica.git] / view / theme / frio / templates / photo_item.tpl
1
2 <div class="wall-item-outside-wrapper{{$indent}} media" id="wall-item-outside-wrapper-{{$id}}">
3
4         <ul class="nav nav-pills preferences">
5                 {{* The time of the comment *}}
6                 <li><span><small><time class="dt-published">{{$ago}}</time></small></span></li>
7
8                 {{* Dropdown menu with actions (e.g. delete comment) *}}
9                 {{if $drop.dropping }}
10                 <li class="dropdown">
11                         <a class="dropdown-toggle" data-toggle="dropdown" id="dropdownMenuTools-{{$id}}" role="button" aria-haspopup="true" aria-expanded="false"><i class="fa fa-angle-down" aria-hidden="true"></i></a>
12
13                         <ul class="dropdown-menu pull-right" role="menu" aria-labelledby="dropdownMenuTools-{{$id}}">
14                                 <li role="menuitem">
15                                         <a onclick="dropItem('item/drop/{{$id}}', '#wall-item-outside-wrapper-{{$id}}'); return false;" class="delete" title="{{$drop.delete}}"><i class="fa fa-trash" aria-hidden="true"></i>&nbsp;{{$drop.delete}}</a>
16                                 </li>
17                         </ul>
18                 </li>
19                 {{/if}}
20         </ul>
21
22         {{* avatar picture *}}
23         <div class="contact-photo-wrapper mframe p-author h-card pull-left">
24                 <a class="userinfo u-url" id="wall-item-photo-menu-{{$id}}" href="{{$profile_url}}">
25                         <div class="contact-photo-image-wrapper">
26                                 <img src="{{$thumb}}" class="contact-photo-xs media-object p-name u-photo" id="wall-item-photo-{{$id}}" alt="{{$name}}" />
27                         </div>
28                 </a>
29         </div>
30
31         <div class="media-body">
32
33                 {{* the header with the comment author name *}}
34                 <div role="heading " class="contact-info-comment">
35                         <h5 class="media-heading">
36                                 <a href="{{$profile_url}}" title="View {{$name}}'s profile" class="wall-item-name-link userinfo"><span class="btn-link">{{$name}}</span></a>
37                         </h5>
38                 </div>
39
40                 {{* comment content *}}
41                 <div class="wall-item-content" id="wall-item-content-{{$id}}">
42                         {{if $title}}
43                         <div class="wall-item-title" id="wall-item-title-{{$id}}">{{$title}}</div>
44                         {{/if}}
45
46                         <div class="wall-item-body {{if !$title}}p-name{{/if}}" id="wall-item-body-{{$id}}" >{{$body}}</div>
47                 </div>
48
49                 <div class="wall-item-wrapper-end clear"></div>
50                 <div class="wall-item-comment-separator"></div>
51
52                 {{* comment text field *}}
53                 {{if $comment}}
54                 <div class="wall-item-comment-wrapper" id="item-comments-{{$item.id}}">
55                         {{$comment}}
56                 </div>
57                 {{/if}}
58         </div>
59
60         <div class="wall-item-outside-wrapper-end{{$indent}} clear"></div>
61 </div>