2 <div class="contact-wrapper media" id="contact-entry-wrapper-{{$id}}" >
4 {{* This is a wrapper for the contact picture and the dropdown menu with contact relating actions *}}
5 <div class="contact-photo-wrapper dropdown pull-left" >
6 <div class="contact-photo mframe" id="contact-entry-photo-{{$contact.id}}" >
8 <a class="dropdown-toggle" id="contact-photo-menu-{{$contact.id}}" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" >
9 <div class="contact-photo-image-wrapper">
10 <img class="contact-photo media-object" src="{{$contact.thumb}}" {{$contact.sparkle}} alt="{{$contact.name}}" />
12 {{* Overlay background on hover the avatar picture *}}
13 <div class="contact-photo-overlay">
14 <span class="contact-photo-overlay-content"><i class="fa fa-angle-down"></i></span>
20 {{if $contact.photo_menu}}
21 <ul class="contact-photo-menu menu-popup dropdown-menu " id="contact-photo-menu-{{$contact.id}}" role="menu" aria-labelledby="contact-photo-menu-{{$contact.id}}">
22 {{foreach $contact.photo_menu as $c}}
24 <li role="menuitem"><a target="redir" href="{{$c.1}}">{{$c.0}}</a></li>
26 <li role="menuitem"><a onclick="addToModal('{{$c.1}}')">{{$c.0}}</a></li>
28 <li role="menuitem"><a href="{{$c.1}}">{{$c.0}}</a></li>
38 <div class="media-body">
39 {{* The contact description (e.g. Name, Network, kind of connection and so on *}}
40 <div class="contact-entry-desc">
41 <div class="contact-entry-name" id="contact-entry-name-{{$contact.id}}" >
42 <h4 class="media-heading">{{$contact.name}}
43 {{if $contact.account_type}} <small class="contact-entry-details" id="contact-entry-accounttype-{{$contact.id}}">({{$contact.account_type}})</small>{{/if}}
44 {{if $contact.account_type == 'Forum'}}<i class="fa fa-comments-o" aria-hidden="true"></i>{{/if}}
45 {{* @todo this needs some changing in core because $contact.account_type contains a translated string which may notbe the same in every language *}}
48 {{if $contact.alt_text}}<div class="contact-entry-details" id="contact-entry-rel-{{$contact.id}}" >{{$contact.alt_text}}</div>{{/if}}
49 {{if $contact.itemurl}}<div class="contact-entry-details" id="contact-entry-url-{{$contact.id}}" >{{$contact.itemurl}}</div>{{/if}}
50 {{if $contact.tags}}<div class="contact-entry-details" id="contact-entry-tags-{{$contact.id}}" >{{$contact.tags}}</div>{{/if}}
51 {{if $contact.details}}<div class="contact-entry-details" id="contact-entry-details-{{$contact.id}}" >{{$contact.details}}</div>{{/if}}
52 {{if $contact.network}}<div class="contact-entry-details" id="contact-entry-network-{{$contact.id}}" >{{$contact.network}}</div>{{/if}}
55 {{* The checkbox to perform batch actions to these contacts (for batch actions have a look at contacts-template.tpl) *}}
56 {{* if !$no_contacts_checkbox *}}
58 <div class="checkbox contact-entry-checkbox pull-right">
59 <input id="checkbox-{{$contact.id}}" type="checkbox" class="contact-select pull-right" name="contact_batch[]" value="{{$contact.id}}">
60 <label for="checkbox-{{$contact.id}}"></label>