]> git.mxchange.org Git - friendica.git/blob - view/theme/frost/templates/profile_vcard.tpl
unify hcard and vcard
[friendica.git] / view / theme / frost / templates / profile_vcard.tpl
1
2 <div class="vcard">
3
4         <div class="fn label">{{$profile.name}}</div>
5         
6         {{if $profile.addr}}<div class="p-addr">{{$profile.addr}}</div>{{/if}}
7         
8         {{if $pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}}
9         <div id="profile-photo-wrapper"><img class="photo" width="175" height="175" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}"></div>
10
11         {{if $account_type}}<div class="account-type">{{$account_type}}</div>{{/if}}
12
13         {{if $profile.network_name}}<dl class="network"><dt class="network-label">{{$network}}</dt><dd class="x-network">{{$profile.network_name}}</dd></dl>{{/if}}
14
15         {{if $location}}
16                 <dl class="location"><dt class="location-label">{{$location}}</dt> 
17                 <dd class="adr">
18                         {{if $profile.address}}<div class="street-address">{{$profile.address}}</div>{{/if}}
19                         <span class="city-state-zip">
20                                 <span class="locality">{{$profile.locality}}</span>{{if $profile.locality}}, {{/if}}
21                                 <span class="region">{{$profile.region}}</span>
22                                 <span class="postal-code">{{$profile.postal_code}}</span>
23                         </span>
24                         {{if $profile.country_name}}<span class="country-name">{{$profile.country_name}}</span>{{/if}}
25                 </dd>
26                 </dl>
27         {{/if}}
28
29         {{if $gender}}<dl class="mf"><dt class="gender-label">{{$gender}}</dt> <dd class="x-gender">{{$profile.gender}}</dd></dl>{{/if}}
30         
31         {{if $profile.pubkey}}<div class="key" style="display:none;">{{$profile.pubkey}}</div>{{/if}}
32
33         {{if $marital}}<dl class="marital"><dt class="marital-label"><span class="heart">&hearts;</span>{{$marital}}</dt><dd class="marital-text">{{$profile.marital}}</dd></dl>{{/if}}
34
35         {{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>{{/if}}
36
37         {{include file="diaspora_vcard.tpl"}}
38
39         <div id="profile-vcard-break"></div>    
40         <div id="profile-extra-links">
41                 <ul>
42                         {{if $connect}}
43                                 <li><a id="dfrn-request-link" href="dfrn_request/{{$profile.nickname}}">{{$connect}}</a></li>
44                         {{/if}}
45                         {{if $wallmessage}}
46                                 <li><a id="wallmessage-link" href="wallmessage/{{$profile.nickname}}">{{$wallmessage}}</a></li>
47                         {{/if}}
48                         {{if $subscribe_feed}}
49                                 <li><a id="subscribe-feed-link" href="dfrn_poll/{{$profile.nickname}}">{{$subscribe_feed}}</a></li>
50                         {{/if}}
51                 </ul>
52         </div>
53 </div>
54
55 {{$contact_block}}