Merge pull request #5128 from tobiasd/20180525-5067
[friendica.git/.git] / view / theme / frost-mobile / templates / contact_template.tpl
1
2
3 <div class="contact-entry-wrapper" id="contact-entry-wrapper-{{$contact.id}}" >
4         <div class="contact-entry-photo-wrapper" >
5                 <div class="contact-entry-photo mframe" id="contact-entry-photo-{{$contact.id}}"
6                 onmouseover="if (typeof t{{$contact.id}} != 'undefined') clearTimeout(t{{$contact.id}});" 
7                 onmouseout="t{{$contact.id}}=setTimeout('closeMenu(\'contact-photo-menu-{{$contact.id}}\');',200)" >
8
9 {{*<!--                 <a href="{{$contact.url}}" title="{{$contact.img_hover}}" /><img src="{{$contact.thumb}}" {{$contact.sparkle}} alt="{{$contact.name}}" /></a>-->*}}
10                         <span onclick="openClose('contact-photo-menu-{{$contact.id}}');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-{{$contact.id}}">
11                         <img src="{{$contact.thumb}}" {{$contact.sparkle}} alt="{{$contact.name}}" />
12                         </span>
13
14                         {{if $contact.photo_menu}}
15 {{*<!--                 <span onclick="openClose('contact-photo-menu-{{$contact.id}}');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-{{$contact.id}}">menu</span>-->*}}
16                 <div class="contact-photo-menu" id="contact-photo-menu-{{$contact.id}}">
17                         <ul>
18                                                     {{foreach $contact.photo_menu as $c}}
19                                                     {{if $c.2}}
20                                                     <li><a target="redir" href="{{$c.1}}">{{$c.0}}</a></li>
21                                                     {{else}}
22                                                     <li><a href="{{$c.1}}">{{$c.0}}</a></li>
23                                                     {{/if}}
24                                                     {{/foreach}}
25                         </ul>
26                 </div>
27                         {{/if}}
28                 </div>
29                         
30         </div>
31
32         <div class="contact-entry-desc">
33                 <div class="contact-entry-name" id="contact-entry-name-{{$contact.id}}" >
34                         {{$contact.name}}
35                         {{if $contact.account_type}} <span class="contact-entry-details" id="contact-entry-accounttype-{{$contact.id}}">({{$contact.account_type}})</span>{{/if}}
36                 </div>
37                 {{if $contact.alt_text}}<div class="contact-entry-details" id="contact-entry-rel-{{$contact.id}}" >{{$contact.alt_text}}</div>{{/if}}
38                 {{if $contact.itemurl}}<div class="contact-entry-details" id="contact-entry-url-{{$contact.id}}" >{{$contact.itemurl}}</div>{{/if}}
39                 {{if $contact.tags}}<div class="contact-entry-details" id="contact-entry-tags-{{$contact.id}}" >{{$contact.tags}}</div>{{/if}}
40                 {{if $contact.details}}<div class="contact-entry-details" id="contact-entry-details-{{$contact.id}}" >{{$contact.details}}</div>{{/if}}
41                 {{if $contact.network}}<div class="contact-entry-network" id="contact-entry-network-{{$contact.id}}" >{{$contact.network}}</div>{{/if}}
42         </div>
43
44         <div class="contact-entry-end" ></div>
45 </div>