]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/vcard-widget.tpl
Unused files are removed
[friendica.git] / view / templates / vcard-widget.tpl
index 6ccd2ae1d09ffc2543ff0e1593476e2cc524d13e..ec59fa46dcb731262955b1a994c2c1b41785b2a1 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">
+       <div class="fn">{{$name}}</div>
+       {{if $addr}}<div class="p-addr">{{$addr}}</div>{{/if}}
+       {{if $pdesc}}<div class="title">{{$pdesc}}</div>{{/if}}
+       {{if $url}}
+       <div id="profile-photo-wrapper"><a href="{{$url}}"><img class="vcard-photo photo" style="width: 175px; height: 175px;" src="{{$photo}}" alt="{{$name}}" /></a></div>
+       {{else}}
+       <div id="profile-photo-wrapper"><img class="vcard-photo 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>