friendica_2021-01/view/templates/vcard-widget.tpl

15 lines
814 B
Smarty
Raw Normal View History

<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}}
2015-12-01 18:31:08 +01:00
{{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>
2015-12-01 18:31:08 +01:00
{{else}}
<div id="profile-photo-wrapper"><img class="vcard-photo photo u-photo" style="width: 175px; height: 175px;" src="{{$photo}}" alt="{{$name}}" /></div>
2015-12-01 18:31:08 +01:00
{{/if}}
{{if $account_type}}<div class="account-type">{{$account_type}}</div>{{/if}}
2015-12-01 18:31:08 +01:00
{{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>
2015-05-26 14:32:40 +02:00
</div>