]> git.mxchange.org Git - friendica.git/blob - view/templates/profile/vcard.tpl
Merge branch '2021.03-rc' into copyright-2021
[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">
17                         <dt class="location-label">{{$location}}</dt>
18                         <dd class="adr h-adr">
19                                 {{if $profile.address}}<p class="street-address p-street-address">{{$profile.address nofilter}}</p>{{/if}}
20                                 {{if $profile.location}}<p class="p-location">{{$profile.location}}</p>{{/if}}
21                         </dd>
22                 </dl>
23         {{/if}}
24
25         {{if $profile.xmpp}}
26                 <dl class="xmpp">
27                 <dt class="xmpp-label">{{$xmpp}}</dt>
28                 <dd class="xmpp-data">{{$profile.xmpp}}</dd>
29                 </dl>
30         {{/if}}
31
32         {{if $profile.upubkey}}<div class="key u-key" style="display:none;">{{$profile.upubkey}}</div>{{/if}}
33
34         {{if $contacts}}<div class="contacts" style="display:none;">{{$contacts}}</div>{{/if}}
35
36         {{if $updated}}<div class="updated" style="display:none;">{{$updated}}</div>{{/if}}
37
38         {{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}}
39
40         {{if $about}}<dl class="about"><dt class="about-label">{{$about}}</dt><dd class="x-network">{{$profile.about nofilter}}</dd></dl>{{/if}}
41
42         {{include file="diaspora_vcard.tpl"}}
43
44         <div id="profile-extra-links">
45                 <ul>
46                         {{if $unfollow_link}}
47                                 <li><a id="dfrn-request-link" href="{{$unfollow_link}}">{{$unfollow}}</a></li>
48                         {{/if}}
49                         {{if $follow_link}}
50                                 <li><a id="dfrn-request-link" href="{{$follow_link}}">{{$follow}}</a></li>
51                         {{/if}}
52                         {{if $wallmessage_link}}
53                                 <li><a id="wallmessage-link" href="{{$wallmessage_link}}">{{$wallmessage}}</a></li>
54                         {{/if}}
55                         {{if $subscribe_feed_link}}
56                                 <li><a id="subscribe-feed-link" href="{{$subscribe_feed_link}}">{{$subscribe_feed}}</a></li>
57                         {{/if}}
58                 </ul>
59         </div>
60 </div>
61
62 {{$contact_block nofilter}}
63
64