]> git.mxchange.org Git - friendica.git/blob - view/theme/vier/templates/profile/vcard.tpl
Merge pull request #9200 from annando/global-direction
[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">{{$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">
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.upubkey}}<div class="key u-key" style="display:none;">{{$profile.upubkey}}</div>{{/if}}
40
41         {{if $contacts}}<div class="contacts" style="display:none;">{{$contacts}}</div>{{/if}}
42
43         {{if $updated}}<div class="updated" style="display:none;">{{$updated}}</div>{{/if}}
44
45         {{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}}
46
47         {{if $about}}<dl class="about"><dt class="about-label">{{$about}}</dt><dd class="x-network">{{$profile.about nofilter}}</dd></dl>{{/if}}
48
49         {{include file="diaspora_vcard.tpl"}}
50
51         <div id="profile-extra-links">
52                 <ul>
53                         {{if $unfollow_link}}
54                                 <li><a id="dfrn-request-link" href="{{$unfollow_link}}">{{$unfollow}}</a></li>
55                         {{/if}}
56                         {{if $follow_link}}
57                                 <li><a id="dfrn-request-link" href="{{$follow_link}}">{{$follow}}</a></li>
58                         {{/if}}
59                         {{if $wallmessage_link}}
60                                 <li><a id="wallmessage-link" href="{{$wallmessage_link}}">{{$wallmessage}}</a></li>
61                         {{/if}}
62                         {{if $subscribe_feed_link}}
63                                 <li><a id="subscribe-feed-link" href="{{$subscribe_feed_link}}">{{$subscribe_feed}}</a></li>
64                         {{/if}}
65                 </ul>
66         </div>
67 </div>
68
69 {{$contact_block nofilter}}