]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/widget/vcard.tpl
RU translations THX Alexander An
[friendica.git] / view / templates / widget / vcard.tpl
index 135d90a61b10d970216cd8245e48a0799d272d12..9e38eebfc5514919614acc1703fdfeaf37e0489f 100644 (file)
@@ -1,14 +1,33 @@
-
 <div class="vcard h-card">
-       <div class="fn p-name">{{$name}}</div>
-       {{if $addr}}<div class="p-addr">{{$addr}}</div>{{/if}}
-       {{if $about}}<div class="title p-job-title">{{$about}}</div>{{/if}}
+       <div class="fn p-name" dir="auto">{{$contact.name}}</div>
+       {{if $contact.addr}}<div class="p-addr">{{$contact.addr}}</div>{{/if}}
        {{if $url}}
        <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>
        {{else}}
        <div id="profile-photo-wrapper"><img class="vcard-photo photo u-photo" style="width: 175px; height: 175px;" src="{{$photo}}" alt="{{$name}}" /></div>
        {{/if}}
        {{if $account_type}}<div class="account-type">{{$account_type}}</div>{{/if}}
+       {{if $about}}<div class="title p-about" dir="auto">{{$about nofilter}}</div>{{/if}}
+       {{if $contact.xmpp}}
+               <dl class="xmpp">
+               <dt class="xmpp-label">{{$xmpp}}</dt>
+               <dd class="xmpp-data">{{$contact.xmpp}}</dd>
+               </dl>
+       {{/if}}
+       {{if $contact.matrix}}
+               <dl class="matrix">
+               <dt class="matrix-label">{{$matrix}}</dt>
+               <dd class="matrix-data">{{$contact.matrix}}</dd>
+               </dl>
+       {{/if}}
+       {{if $contact.location}}
+               <dl class="location" dir="auto">
+                       <dt class="location-label">{{$location}}</dt>
+                       <dd class="adr h-adr">
+                               <p class="p-location">{{$contact.location}}</p>
+                       </dd>
+               </dl>
+       {{/if}}
        {{if $network_link}}<dl class="network"><dt class="network-label">{{$network}}</dt><dd class="x-network">{{$network_link nofilter}}</dd></dl>{{/if}}
 
        <div id="profile-extra-links">