]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/vcard-widget.tpl
Merge remote-tracking branch 'upstream/develop' into dfrn-reshare
[friendica.git] / view / templates / vcard-widget.tpl
index 6ccd2ae1d09ffc2543ff0e1593476e2cc524d13e..47b64b68dafe5d0f561b8071ff3e0340173d527c 100644 (file)
@@ -1,10 +1,14 @@
-{{*
- *     AUTOMATICALLY GENERATED TEMPLATE
- *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
- *
- *}}
-       <div class="vcard">
-               <div class="fn">{{$name}}</div>
-               <div id="profile-photo-wrapper"><img class="photo" style="width: 175px; height: 175px;" src="{{$photo}}" alt="{{$name}}" /></div>
-       </div>
 
+<div class="vcard h-card">
+       <div class="fn p-name">{{$name}}</div>
+       {{if $addr}}<div class="p-addr">{{$addr}}</div>{{/if}}
+       {{if $pdesc}}<div class="title p-job-title">{{$pdesc}}</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 $network_name}}<dl class="network"><dt class="network-label">{{$network}}</dt><dd class="x-network">{{$network_name}}</dd></dl>{{/if}}
+       <div id="profile-vcard-break"></div>
+</div>