]> git.mxchange.org Git - friendica.git/blob - view/theme/dispy/profile_vcard.tpl
b7c99edd9daf09050223d292cc3365907e4b46b6
[friendica.git] / view / theme / dispy / profile_vcard.tpl
1 <div class="vcard">
2
3         {{ if $profile.edit }}
4         <div class="action">
5         <span class="icon-profile-edit" rel="#profiles-menu"></span>
6         <a href="#" rel="#profiles-menu" class="ttright" id="profiles-menu-trigger" title="$profile.edit.3">$profile.edit.1</a>
7         <ul id="profiles-menu" class="menu-popup">
8                 {{ for $profile.menu.entries as $e }}
9                 <li>
10                         <a href="profiles/$e.id"><img src='$e.photo'>$e.profile_name</a>
11                 </li>
12                 {{ endfor }}
13                 <li><a href="profile_photo">$profile.menu.chg_photo</a></li>
14                 <li><a href="profiles/new" id="profile-listing-new-link">$profile.menu.cr_new</a></li>
15         </ul>
16         </div>
17         {{ endif }}
18
19         <div class="fn label">$profile.name</div>
20
21         {{ if $pdesc }}
22     <div class="title">$profile.pdesc</div>
23     {{ endif }}
24         <div id="profile-photo-wrapper">
25                 <img class="photo" width="175" height="175" src="$profile.photo?rev=$profile.picdate" alt="$profile.name" />
26     </div>
27
28         {{ if $location }}
29                 <div class="location">
30         <span class="location-label">$location</span>
31                 <div class="adr">
32                         {{ if $profile.address }}
33             <div class="street-address">$profile.address</div>{{ endif }}
34                         <span class="city-state-zip">
35                                 <span class="locality">$profile.locality</span>{{ if $profile.locality }}, {{ endif }}
36                                 <span class="region">$profile.region</span>
37                                 <span class="postal-code">$profile.postal_code</span>
38                         </span>
39                         {{ if $profile.country_name }}<span class="country-name">$profile.country_name</span>{{ endif }}
40                 </div>
41                 </div>
42         {{ endif }}
43
44         {{ if $gender }}
45     <div class="mf">
46         <span class="gender-label">$gender</span>
47         <span class="x-gender">$profile.gender</span>
48     </div>
49     {{ endif }}
50         
51         {{ if $profile.pubkey }}
52     <div class="key" style="display:none;">$profile.pubkey</div>
53     {{ endif }}
54
55         {{ if $marital }}
56     <div class="marital">
57     <span class="marital-label">
58     <span class="heart">&hearts;</span>$marital</span>
59     <span class="marital-text">$profile.marital</span>
60     </div>
61     {{ endif }}
62
63         {{ if $homepage }}
64     <div class="homepage">
65     <span class="homepage-label">$homepage</span>
66     <span class="homepage-url"><a href="$profile.homepage"
67     target="external-link">$profile.homepage</a></span>
68     </div>{{ endif }}
69
70         {{ inc diaspora_vcard.tpl }}{{ endinc }}
71         
72         <div id="profile-extra-links">
73                 <ul>
74                         {{ if $connect }}
75                                 <li><a id="dfrn-request-link" href="dfrn_request/$profile.nickname">$connect</a></li>
76                         {{ endif }}
77                 </ul>
78         </div>
79 </div>
80
81 $contact_block
82