]> git.mxchange.org Git - friendica.git/blob - view/theme/vier/templates/profile/vcard.tpl
Merge pull request #10713 from MrPetovan/task/10672-contact-module-security-token
[friendica.git] / view / theme / vier / templates / profile / vcard.tpl
1 <div class="vcard h-card">
2
3         <div class="tool">
4                 <div class="fn p-name" dir="auto">{{$profile.name}}</div>
5                 {{if $profile.edit}}
6                         <div class="action">
7                                 <a class="icon s16 edit ttright" href="{{$profile.edit.0}}" title="{{$profile.edit.3}}"><span>{{$profile.edit.1}}</span></a>
8                         </div>
9                 {{/if}}
10         </div>
11
12         {{if $profile.addr}}<div class="p-addr">{{$profile.addr}}</div>{{/if}}
13
14         {{if $profile.picdate}}
15                 <div id="profile-photo-wrapper"><a href="{{$profile.url}}"><img class="photo u-photo" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}"></a></div>
16         {{else}}
17                 <div id="profile-photo-wrapper"><a href="{{$profile.url}}"><img class="photo u-photo" src="{{$profile.photo}}" alt="{{$profile.name}}"></a></div>
18         {{/if}}
19
20         {{if $account_type}}<div class="account-type">{{$account_type}}</div>{{/if}}
21         {{if $profile.network_link}}<dl class="network"><dt class="network-label">{{$network}}</dt><dd class="x-network">{{$profile.network_link nofilter}}</dd></dl>{{/if}}
22         {{if $location}}
23                 <dl class="location" dir="auto">
24                         <dt class="location-label">{{$location}}</dt>
25                         <dd class="adr h-adr">
26                                 {{if $profile.address}}<p class="street-address p-street-address">{{$profile.address nofilter}}</p>{{/if}}
27                                 {{if $profile.location}}<p class="p-location">{{$profile.location}}</p>{{/if}}
28                         </dd>
29                 </dl>
30         {{/if}}
31
32         {{if $profile.xmpp}}
33                 <dl class="xmpp">
34                         <dt class="xmpp-label">{{$xmpp}}</dt>
35                         <dd class="xmpp-data">{{$profile.xmpp}}</dd>
36                 </dl>
37         {{/if}}
38
39         {{if $profile.matrix}}
40                 <dl class="matrix">
41                         <dt class="matrix-label">{{$matrix}}</dt>
42                         <dd class="matrix-data">{{$profile.matrix}}</dd>
43                 </dl>
44         {{/if}}
45
46         {{if $profile.upubkey}}<div class="key u-key" style="display:none;">{{$profile.upubkey}}</div>{{/if}}
47
48         {{if $contacts}}<div class="contacts" style="display:none;">{{$contacts}}</div>{{/if}}
49
50         {{if $updated}}<div class="updated" style="display:none;">{{$updated}}</div>{{/if}}
51
52         {{if $homepage}}<dl class="homepage"><dt class="homepage-label">{{$homepage}}</dt><dd class="homepage-url"><a href="{{$profile.homepage}}" class="u-url" rel="me" target="_blank" rel="noopener noreferrer">{{$profile.homepage}}</a></dd></dl>{{/if}}
53
54         {{if $about}}<dl class="about"><dt class="about-label">{{$about}}</dt><dd class="x-network" dir="auto">{{$profile.about nofilter}}</dd></dl>{{/if}}
55
56         {{include file="diaspora_vcard.tpl"}}
57
58         <div id="profile-extra-links">
59                 <ul>
60                         {{if $unfollow_link}}
61                                 <li><a id="dfrn-request-link" href="{{$unfollow_link}}">{{$unfollow}}</a></li>
62                         {{/if}}
63                         {{if $follow_link}}
64                                 <li><a id="dfrn-request-link" href="{{$follow_link}}">{{$follow}}</a></li>
65                         {{/if}}
66                         {{if $wallmessage_link}}
67                                 <li><a id="wallmessage-link" href="{{$wallmessage_link}}">{{$wallmessage}}</a></li>
68                         {{/if}}
69                         {{if $subscribe_feed_link}}
70                                 <li><a id="subscribe-feed-link" href="{{$subscribe_feed_link}}">{{$subscribe_feed}}</a></li>
71                         {{/if}}
72                 </ul>
73         </div>
74 </div>
75
76 {{$contact_block nofilter}}