2016-03-28 14:29:05 +00:00
|
|
|
<div class="vcard h-card widget">
|
|
|
|
|
2018-07-25 20:12:30 +00:00
|
|
|
<div id="profile-photo-wrapper">
|
|
|
|
{{if $profile.picdate}}
|
2018-12-14 03:28:12 +00:00
|
|
|
<a href="{{$profile.url}}"><img class="photo u-photo" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}" /></a>
|
2018-07-25 20:12:30 +00:00
|
|
|
{{else}}
|
2018-12-14 03:28:12 +00:00
|
|
|
<a href="{{$profile.url}}"><img class="photo u-photo" src="{{$profile.photo}}" alt="{{$profile.name}}" /></a>
|
2018-07-25 20:12:30 +00:00
|
|
|
{{/if}}
|
2016-03-28 14:29:05 +00:00
|
|
|
|
2018-07-25 20:12:30 +00:00
|
|
|
<div class="tool visible-lg visible-md">
|
2016-03-28 14:29:05 +00:00
|
|
|
{{if $profile.edit}}
|
2018-07-25 20:12:30 +00:00
|
|
|
<div class="action">
|
2018-12-14 03:28:12 +00:00
|
|
|
<a class="" href="{{$profile.edit.0}}" title="{{$profile.edit.3}}"><i class="fa fa-pencil-square-o"></i></a>
|
2018-07-25 20:12:30 +00:00
|
|
|
</div>
|
2016-03-28 14:29:05 +00:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
|
2018-07-25 20:12:30 +00:00
|
|
|
</div>
|
|
|
|
|
2016-06-10 23:28:25 +00:00
|
|
|
{{* The short information which will appended to the second navbar by scrollspy *}}
|
|
|
|
<div id="vcard-short-info-wrapper" style="display: none;">
|
|
|
|
<div id="vcard-short-info" class="media" style="display: none">
|
|
|
|
<div id="vcard-short-photo-wrapper" class="pull-left">
|
2019-07-23 16:25:06 +00:00
|
|
|
{{if $profile.picdate}}
|
|
|
|
<img class="media-object" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}"></a>
|
|
|
|
{{else}}
|
|
|
|
<img class="media-object" src="{{$profile.photo}}" alt="{{$profile.name}}"></a>
|
|
|
|
{{/if}}
|
2016-06-10 23:28:25 +00:00
|
|
|
</div>
|
2016-03-28 14:29:05 +00:00
|
|
|
|
2016-06-10 23:28:25 +00:00
|
|
|
<div id="vcard-short-desc" class="media-body">
|
2018-12-14 03:28:12 +00:00
|
|
|
<h4 class="media-heading">{{$profile.name}}</h4>
|
|
|
|
{{if $profile.addr}}<div class="vcard-short-addr">{{$profile.addr}}</div>{{/if}}
|
2016-06-10 23:28:25 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-03-28 14:29:05 +00:00
|
|
|
|
|
|
|
<div class="panel-body">
|
|
|
|
<div class="profile-header">
|
2018-12-14 03:28:12 +00:00
|
|
|
<h3 class="fn p-name">{{$profile.name}}</h3>
|
2016-03-28 14:29:05 +00:00
|
|
|
|
2019-03-19 01:02:58 +00:00
|
|
|
{{if $profile.addr}}<div class="p-addr">{{include file="sub/punct_wrap.tpl" text=$profile.addr}}</div>{{/if}}
|
2016-03-28 14:29:05 +00:00
|
|
|
|
2020-02-12 02:38:42 +00:00
|
|
|
{{if $profile.about}}<div class="title">{{$profile.about nofilter}}</div>{{/if}}
|
2019-02-04 23:18:07 +00:00
|
|
|
|
|
|
|
{{if $account_type}}<div class="account-type">({{$account_type}})</div>{{/if}}
|
2016-03-28 14:29:05 +00:00
|
|
|
</div>
|
|
|
|
|
2019-06-11 01:33:25 +00:00
|
|
|
{{if $follow_link || $unfollow_link || $wallmessage_link}}
|
2016-03-28 14:29:05 +00:00
|
|
|
<div id="profile-extra-links">
|
2019-06-11 01:33:25 +00:00
|
|
|
{{if $follow_link || $unfollow_link}}
|
2018-07-25 20:12:30 +00:00
|
|
|
<div id="dfrn-request-link-button">
|
2019-06-11 01:33:25 +00:00
|
|
|
{{if $unfollow_link}}
|
|
|
|
<a id="dfrn-request-link" class="btn btn-labeled btn-primary btn-sm" href="{{$unfollow_link}}">
|
|
|
|
<span class=""><i class="fa fa-user-times"></i></span>
|
|
|
|
<span class="">{{$unfollow}}</span>
|
2018-07-25 20:12:30 +00:00
|
|
|
</a>
|
|
|
|
{{else}}
|
2019-06-11 01:33:25 +00:00
|
|
|
<a id="dfrn-request-link" class="btn btn-labeled btn-primary btn-sm" href="{{$follow_link}}">
|
2018-07-25 20:12:30 +00:00
|
|
|
<span class=""><i class="fa fa-user-plus"></i></span>
|
2019-06-11 01:33:25 +00:00
|
|
|
<span class="">{{$follow}}</span>
|
2018-07-25 20:12:30 +00:00
|
|
|
</a>
|
2016-03-28 14:29:05 +00:00
|
|
|
{{/if}}
|
2018-07-25 20:12:30 +00:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
2019-06-11 01:33:25 +00:00
|
|
|
{{if $wallmessage_link}}
|
2018-07-25 20:12:30 +00:00
|
|
|
<div id="wallmessage-link-botton">
|
2018-12-14 03:28:12 +00:00
|
|
|
<button type="button" id="wallmessage-link" class="btn btn-labeled btn-primary btn-sm" onclick="openWallMessage('{{$wallmessage_link}}')">
|
2018-07-25 20:12:30 +00:00
|
|
|
<span class=""><i class="fa fa-envelope"></i></span>
|
|
|
|
<span class="">{{$wallmessage}}</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2016-03-28 14:29:05 +00:00
|
|
|
</div>
|
2019-06-11 01:33:25 +00:00
|
|
|
{{/if}}
|
2016-03-28 14:29:05 +00:00
|
|
|
|
|
|
|
<div class="clear"></div>
|
|
|
|
|
|
|
|
{{if $location}}
|
2018-07-25 20:12:30 +00:00
|
|
|
<div class="location detail">
|
|
|
|
<span class="location-label icon"><i class="fa fa-map-marker"></i></span>
|
|
|
|
<span class="adr">
|
2019-01-06 21:04:10 +00:00
|
|
|
{{if $profile.address}}<span class="street-address p-street-address">{{$profile.address nofilter}}</span>{{/if}}
|
2018-07-25 20:12:30 +00:00
|
|
|
<span class="city-state-zip">
|
2018-12-14 03:28:12 +00:00
|
|
|
<span class="locality p-locality">{{$profile.locality}}</span>{{if $profile.locality}}, {{/if}}
|
|
|
|
<span class="region p-region">{{$profile.region}}</span>
|
|
|
|
<span class="postal-code p-postal-code">{{$profile.postal_code}}</span>
|
2016-03-28 14:29:05 +00:00
|
|
|
</span>
|
2018-12-14 03:28:12 +00:00
|
|
|
{{if $profile.country_name}}<span class="country-name p-country-name">{{$profile.country_name}}</span>{{/if}}
|
2018-07-25 20:12:30 +00:00
|
|
|
</span>
|
|
|
|
</div>
|
2016-03-28 14:29:05 +00:00
|
|
|
{{/if}}
|
|
|
|
|
2016-09-25 15:28:00 +00:00
|
|
|
{{if $profile.xmpp}}
|
2018-07-25 20:12:30 +00:00
|
|
|
<div class="xmpp">
|
|
|
|
<span class="xmpp-label icon"><i class="fa fa-comments"></i></span>
|
2020-02-25 01:07:34 +00:00
|
|
|
<span class="xmpp-data"><a href="xmpp:{{$profile.xmpp}}" rel="me" target="_blank" rel="noopener noreferrer">{{include file="sub/punct_wrap.tpl" text=$profile.xmpp}}</a></span>
|
2018-07-25 20:12:30 +00:00
|
|
|
</div>
|
2016-09-25 15:28:00 +00:00
|
|
|
{{/if}}
|
2016-03-28 14:29:05 +00:00
|
|
|
|
2020-06-12 19:51:42 +00:00
|
|
|
{{if $profile.upubkey}}<div class="key u-key" style="display:none;">{{$profile.upubkey}}</div>{{/if}}
|
2016-03-28 14:29:05 +00:00
|
|
|
|
2018-12-14 03:28:12 +00:00
|
|
|
{{if $contacts}}<div class="contacts" style="display:none;">{{$contacts}}</div>{{/if}}
|
2016-03-28 14:29:05 +00:00
|
|
|
|
2018-12-14 03:28:12 +00:00
|
|
|
{{if $updated}}<div class="updated" style="display:none;">{{$updated}}</div>{{/if}}
|
2016-03-28 14:29:05 +00:00
|
|
|
|
|
|
|
{{if $homepage}}
|
|
|
|
<div class="homepage detail">
|
|
|
|
<span class="homepage-label icon"><i class="fa fa-external-link-square"></i></span>
|
2020-02-25 01:07:34 +00:00
|
|
|
<span class="homepage-url u-url"><a href="{{$profile.homepage}}" rel="me" target="_blank" rel="noopener noreferrer">{{include file="sub/punct_wrap.tpl" text=$profile.homepage}}</a></span>
|
2016-03-28 14:29:05 +00:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
2018-12-14 03:28:12 +00:00
|
|
|
{{if $about}}<dl class="about" style="display:none;"><dt class="about-label">{{$about}}</dt><dd class="x-network">{{$profile.about nofilter}}</dd></dl>{{/if}}
|
2016-03-28 14:29:05 +00:00
|
|
|
|
|
|
|
{{include file="diaspora_vcard.tpl"}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{if $contact_block}}
|
|
|
|
<div class="widget" id="widget-contacts">
|
2018-12-14 03:35:51 +00:00
|
|
|
{{$contact_block nofilter}}
|
2016-03-28 14:29:05 +00:00
|
|
|
</div>
|
|
|
|
{{/if}}
|