]> git.mxchange.org Git - friendica.git/blob - view/profile_vcard.tpl
Fix profile vcard and style
[friendica.git] / view / profile_vcard.tpl
1 <div class="vcard">
2
3         <div class="fn">$profile.name</div>
4         {{ if $pdesc }}<div class="title">$profile.pdesc</div>{{ endif }}
5         <div id="profile-photo-wrapper"><img class="photo" width="175" height="175" src="$profile.photo" alt="$profile.name"></div>
6
7
8
9         {{ if $location }}
10                 <dl class="location"><dt class="location-label">$location</dt> 
11                 <dd class="adr">
12                         {{ if $profile.address }}<div class="street-address">$profile.address</div>{{ endif }}
13                         <span class="city-state-zip">
14                                 <span class="locality">$profile.locality</span>{{ if $profile.locality }}, {{ endif }}
15                                 <span class="region">$profile.region</span>
16                                 <span class="postal-code">$profile.postal-code</span>
17                         </span>
18                         {{ if $profile.country-name }}<span class="country-name">$profile.country-name</span>{{ endif }}
19                 </dd>
20                 </dl>
21         {{ endif }}
22
23         {{ if $gender }}<dl class="mf"><dt class="gender-label">$gender</dt> <dd class="x-gender">$profile.gender</dd></dl>{{ endif }}
24         
25         {{ if $profile.pubkey }}<div class="key" style="display:none;">$profile.pubkey</div>{{ endif }}
26
27         {{ if $marital }}<dl class="marital"><dt class="marital-label"><span class="heart">&hearts;</span>$marital</dt><dd class="marital-text">$profile.marital</dd></dl>{{ endif }}
28
29         {{ if $homepage }}<dl class="homepage"><dt class="homepage-label">$homepage</dt><dd class="homepage-url"><a href="$profile.homepage" target="external-link">$profile.homepage</a></dd></dl>{{ endif }}
30
31         {{ inc diaspora_vcard.tpl }}{{ endinc }}
32         
33         <div id="profile-extra-links">
34                 <ul>
35                         {{ if $connect }}
36                                 <li><a id="dfrn-request-link" href="dfrn_request/$profile.nickname">$connect</a></li>
37                         {{ endif }}
38                 </ul>
39         </div>
40 </div>
41
42 $contact_block
43
44