]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/vcard-widget.tpl
Move /itemsource to src/Module/Admin
[friendica.git] / view / templates / vcard-widget.tpl
index 6ccd2ae1d09ffc2543ff0e1593476e2cc524d13e..240466460efff31630eb2baee11472f5db73d44a 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_link}}<dl class="network"><dt class="network-label">{{$network}}</dt><dd class="x-network">{{$network_link nofilter}}</dd></dl>{{/if}}
+       <div id="profile-vcard-break"></div>
+</div>