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-entry-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 hidden-xs">
10 <img class="contact-photo media-object xl" 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 xl"><i class="fa fa-angle-down"></i></span>
18 <div class="contact-photo-image-wrapper hidden-lg hidden-md">
19 <img class="contact-photo-xs media-object" src="{{$contact.thumb}}" {{$contact.sparkle}} alt="{{$contact.name}}" />
21 {{* Overlay background on hover the avatar picture *}}
22 <div class="contact-photo-overlay">
23 <span class="contact-photo-overlay-content overlay-xs"><i class="fa fa-angle-down"></i></span>
29 {{if $contact.photo_menu}}
30 <ul class="contact-photo-menu menu-popup dropdown-menu " id="contact-photo-menu-{{$contact.id}}" role="menu" aria-labelledby="contact-photo-menu-{{$contact.id}}">
31 {{foreach $contact.photo_menu as $c}}
33 <li role="menuitem"><a target="redir" href="{{$c.1}}">{{$c.0}}</a></li>
35 <li role="menuitem"><a onclick="addToModal('{{$c.1}}')">{{$c.0}}</a></li>
37 <li role="menuitem"><a href="{{$c.1}}">{{$c.0}}</a></li>
47 <div class="media-body">
48 {{* The contact description (e.g. Name, Network, kind of connection and so on *}}
49 <div class="contact-entry-desc">
50 <div class="contact-entry-name" id="contact-entry-name-{{$contact.id}}" >
51 <h4 class="media-heading">{{$contact.name}}
52 {{if $contact.account_type}} <small class="contact-entry-details" id="contact-entry-accounttype-{{$contact.id}}">({{$contact.account_type}})</small>{{/if}}
53 {{if $contact.account_type == 'Forum'}}<i class="fa fa-comments-o" aria-hidden="true"></i>{{/if}}
54 {{* @todo this needs some changing in core because $contact.account_type contains a translated string which may notbe the same in every language *}}
57 {{if $contact.alt_text}}<div class="contact-entry-details" id="contact-entry-rel-{{$contact.id}}" >{{$contact.alt_text}}</div>{{/if}}
58 {{if $contact.itemurl}}<div class="contact-entry-details" id="contact-entry-url-{{$contact.id}}" >{{$contact.itemurl}}</div>{{/if}}
59 {{if $contact.tags}}<div class="contact-entry-details" id="contact-entry-tags-{{$contact.id}}" >{{$contact.tags}}</div>{{/if}}
60 {{if $contact.details}}<div class="contact-entry-details" id="contact-entry-details-{{$contact.id}}" >{{$contact.details}}</div>{{/if}}
61 {{if $contact.network}}<div class="contact-entry-details" id="contact-entry-network-{{$contact.id}}" >{{$contact.network}}</div>{{/if}}
64 {{* The checkbox to perform batch actions to these contacts (for batch actions have a look at contacts-template.tpl) *}}
65 {{* if !$no_contacts_checkbox *}}
67 <div class="checkbox contact-entry-checkbox pull-right">
68 <input id="checkbox-{{$contact.id}}" type="checkbox" class="contact-select pull-right" name="contact_batch[]" value="{{$contact.id}}">
69 <label for="checkbox-{{$contact.id}}"></label>