]> git.mxchange.org Git - friendica.git/blob - view/theme/frio/templates/widget/vcard.tpl
Refactor widgets
[friendica.git] / view / theme / frio / templates / widget / vcard.tpl
1 <div class="vcard h-card widget">
2
3         <div id="profile-photo-wrapper">
4                 {{if $url}}
5                 <a href="{{$url}}"><img class="photo u-photo" src="{{$photo}}" alt="{{$name}}" /></a>
6                 {{else}}
7                 <img class="photo u-photo" src="{{$photo}}" alt="{{$name}}" />
8                 {{/if}}
9         </div>
10
11         {{* The short information which will appended to the second navbar by scrollspy *}}
12         <div id="vcard-short-info-wrapper" style="display: none;">
13                 <div id="vcard-short-info" class="media" style="display: none">
14                         <div id="vcard-short-photo-wrapper" class="pull-left">
15                                 <img class="media-object" src="{{$photo}}" alt="{{$name}}" />
16                         </div>
17
18                         <div id="vcard-short-desc" class="media-body">
19                                 <h4 class="media-heading">{{$name}}</h4>
20                                 {{if $addr}}<div class="vcard-short-addr">{{$addr}}</div>{{/if}}
21                         </div>
22                 </div>
23         </div>
24
25         <div class="panel-body">
26                 <div class="profile-header">
27                         <h3 class="fn p-name">{{$name}}</h3>
28
29                         {{if $addr}}<div class="p-addr">{{$addr}}</div>{{/if}}
30
31                         {{if $account_type}}<div class="account-type">({{$account_type}})</div>{{/if}}
32
33                         {{if $pdesc}}<div class="title">{{$pdesc}}</div>{{/if}}
34
35                         {{if $network_link}}<dl class="network"><dt class="network-label">{{$network}}</dt><dd class="x-network">{{$network_link nofilter}}</dd></dl>{{/if}}
36                 </div>
37         </div>
38 </div>