]> git.mxchange.org Git - friendica.git/blob - view/templates/widget/vcard.tpl
RU translations THX Alexander An
[friendica.git] / view / templates / widget / vcard.tpl
1 <div class="vcard h-card">
2         <div class="fn p-name" dir="auto">{{$contact.name}}</div>
3         {{if $contact.addr}}<div class="p-addr">{{$contact.addr}}</div>{{/if}}
4         {{if $url}}
5         <div id="profile-photo-wrapper"><a href="{{$url}}"><img class="vcard-photo photo u-photo" style="width: 175px; height: 175px;" src="{{$photo}}" alt="{{$name}}" /></a></div>
6         {{else}}
7         <div id="profile-photo-wrapper"><img class="vcard-photo photo u-photo" style="width: 175px; height: 175px;" src="{{$photo}}" alt="{{$name}}" /></div>
8         {{/if}}
9         {{if $account_type}}<div class="account-type">{{$account_type}}</div>{{/if}}
10         {{if $about}}<div class="title p-about" dir="auto">{{$about nofilter}}</div>{{/if}}
11         {{if $contact.xmpp}}
12                 <dl class="xmpp">
13                 <dt class="xmpp-label">{{$xmpp}}</dt>
14                 <dd class="xmpp-data">{{$contact.xmpp}}</dd>
15                 </dl>
16         {{/if}}
17         {{if $contact.matrix}}
18                 <dl class="matrix">
19                 <dt class="matrix-label">{{$matrix}}</dt>
20                 <dd class="matrix-data">{{$contact.matrix}}</dd>
21                 </dl>
22         {{/if}}
23         {{if $contact.location}}
24                 <dl class="location" dir="auto">
25                         <dt class="location-label">{{$location}}</dt>
26                         <dd class="adr h-adr">
27                                 <p class="p-location">{{$contact.location}}</p>
28                         </dd>
29                 </dl>
30         {{/if}}
31         {{if $network_link}}<dl class="network"><dt class="network-label">{{$network}}</dt><dd class="x-network">{{$network_link nofilter}}</dd></dl>{{/if}}
32
33         <div id="profile-extra-links">
34                 <ul>
35                         {{if $follow_link}}
36                                 <li><a id="dfrn-request-link" href="{{$follow_link}}">{{$follow}}</a></li>
37                         {{/if}}
38                         {{if $unfollow_link}}
39                                 <li><a id="dfrn-request-link" href="{{$unfollow_link}}">{{$unfollow}}</a></li>
40                         {{/if}}
41                         {{if $wallmessage_link}}
42                                 <li><a id="wallmessage-link" href="{{$wallmessage_link}}">{{$wallmessage}}</a></li>
43                         {{/if}}
44                 </ul>
45         </div>
46
47         <div id="profile-vcard-break"></div>
48 </div>