]> git.mxchange.org Git - friendica.git/blob - view/templates/profile/vcard.tpl
32f7e0fcfa9f2669e56cd1391ccae4aa6d529136
[friendica.git] / view / templates / profile / vcard.tpl
1
2 <div class="vcard h-card">
3
4         <div class="fn p-name">{{$profile.name}}</div>
5         
6         {{if $profile.addr}}<div class="p-addr">{{$profile.addr}}</div>{{/if}}
7         
8         {{if $profile.picdate}}
9                 <div id="profile-photo-wrapper"><a href="{{$profile.url}}"><img class="photo u-photo" width="175" height="175" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}"></a></div>
10         {{else}}
11                 <div id="profile-photo-wrapper"><a href="{{$profile.url}}"><img class="photo u-photo" width="175" height="175" src="{{$profile.photo}}" alt="{{$profile.name}}"></a></div>
12         {{/if}}
13         {{if $account_type}}<div class="account-type">{{$account_type}}</div>{{/if}}
14         {{if $profile.network_link}}<dl class="network"><dt class="network-label">{{$network}}</dt><dd class="x-network">{{$profile.network_link nofilter}}</dd></dl>{{/if}}
15         {{if $location}}
16                 <dl class="location"><dt class="location-label">{{$location}}</dt> 
17                 <dd class="adr h-adr">
18                         {{if $profile.address}}<div class="street-address p-street-address">{{$profile.address nofilter}}</div>{{/if}}
19                         <span class="city-state-zip">
20                                 <span class="locality p-locality">{{$profile.locality}}</span>{{if $profile.locality}}, {{/if}}
21                                 <span class="region p-region">{{$profile.region}}</span>
22                                 <span class="postal-code p-postal-code">{{$profile.postal_code}}</span>
23                         </span>
24                         {{if $profile.country_name}}<span class="country-name p-country-name">{{$profile.country_name}}</span>{{/if}}
25                 </dd>
26                 </dl>
27         {{/if}}
28
29         {{if $profile.xmpp}}
30                 <dl class="xmpp">
31                 <dt class="xmpp-label">{{$xmpp}}</dt>
32                 <dd class="xmpp-data">{{$profile.xmpp}}</dd>
33                 </dl>
34         {{/if}}
35
36         {{if $profile.pubkey}}<div class="key u-key" style="display:none;">{{$profile.pubkey}}</div>{{/if}}
37
38         {{if $contacts}}<div class="contacts" style="display:none;">{{$contacts}}</div>{{/if}}
39
40         {{if $updated}}<div class="updated" style="display:none;">{{$updated}}</div>{{/if}}
41
42         {{if $homepage}}<dl class="homepage"><dt class="homepage-label">{{$homepage}}</dt><dd class="homepage-url u-url"><a href="{{$profile.homepage}}" rel="me" target="_blank" rel="noopener noreferrer">{{$profile.homepage}}</a></dd></dl>{{/if}}
43
44         {{if $about}}<dl class="about"><dt class="about-label">{{$about}}</dt><dd class="x-network">{{$profile.about nofilter}}</dd></dl>{{/if}}
45
46         {{include file="diaspora_vcard.tpl"}}
47
48         <div id="profile-extra-links">
49                 <ul>
50                         {{if $unfollow_link}}
51                                 <li><a id="dfrn-request-link" href="{{$unfollow_link}}">{{$unfollow}}</a></li>
52                         {{/if}}
53                         {{if $follow_link}}
54                                 <li><a id="dfrn-request-link" href="{{$follow_link}}">{{$follow}}</a></li>
55                         {{/if}}
56                         {{if $wallmessage_link}}
57                                 <li><a id="wallmessage-link" href="{{$wallmessage_link}}">{{$wallmessage}}</a></li>
58                         {{/if}}
59                         {{if $subscribe_feed_link}}
60                                 <li><a id="subscribe-feed-link" href="{{$subscribe_feed_link}}">{{$subscribe_feed}}</a></li>
61                         {{/if}}
62                 </ul>
63         </div>
64 </div>
65
66 {{$contact_block nofilter}}
67
68