2018-07-25 20:12:30 +00:00
|
|
|
<div class="vcard h-card widget">
|
2016-03-28 14:29:05 +00:00
|
|
|
|
2018-07-25 20:12:30 +00:00
|
|
|
<div id="profile-photo-wrapper">
|
|
|
|
{{if $url}}
|
2021-07-23 12:39:37 +00:00
|
|
|
<a href="{{$url}}"><img class="photo u-photo" src="{{$photo}}" alt="{{$contact.name}}" /></a>
|
2018-07-25 20:12:30 +00:00
|
|
|
{{else}}
|
2021-07-23 12:39:37 +00:00
|
|
|
<img class="photo u-photo" src="{{$photo}}" alt="{{$contact.name}}" />
|
2018-07-25 20:12:30 +00:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
2016-03-28 14:29:05 +00:00
|
|
|
|
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">
|
2021-07-23 12:39:37 +00:00
|
|
|
<img class="media-object" src="{{$photo}}" alt="{{$contact.name}}" />
|
2016-06-10 23:28:25 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="vcard-short-desc" class="media-body">
|
2021-07-23 12:39:37 +00:00
|
|
|
<h4 class="media-heading" dir="auto">{{$contact.name}}</h4>
|
|
|
|
{{if $contact.addr}}<div class="vcard-short-addr">{{$contact.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">
|
2018-07-26 15:42:26 +00:00
|
|
|
<div class="profile-header">
|
2021-07-23 12:39:37 +00:00
|
|
|
<h3 class="fn p-name" dir="auto">{{$contact.name}}</h3>
|
2018-07-25 20:12:30 +00:00
|
|
|
|
2021-07-23 12:39:37 +00:00
|
|
|
{{if $contact.addr}}<div class="p-addr">{{$contact.addr}}</div>{{/if}}
|
2018-07-25 20:12:30 +00:00
|
|
|
|
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
|
|
|
|
2021-05-01 19:13:39 +00:00
|
|
|
{{if $about}}<div class="title" dir="auto">{{$about nofilter}}</div>{{/if}}
|
2018-07-26 15:42:26 +00:00
|
|
|
</div>
|
2019-06-11 01:40:44 +00:00
|
|
|
|
|
|
|
<div id="profile-extra-links">
|
|
|
|
<div id="dfrn-request-link-button">
|
|
|
|
{{if $follow_link}}
|
2023-01-19 11:56:25 +00:00
|
|
|
<a id="dfrn-request-link" class="btn btn-labeled btn-primary" href="{{$follow_link}}"">
|
2019-06-11 01:40:44 +00:00
|
|
|
<span class=""><i class="fa fa-user-plus"></i></span>
|
|
|
|
<span class="">{{$follow}}</span>
|
|
|
|
</a>
|
|
|
|
{{/if}}
|
|
|
|
{{if $unfollow_link}}
|
2023-01-19 11:56:25 +00:00
|
|
|
<a id="dfrn-request-link" class="btn btn-labeled btn-primary" href="{{$unfollow_link}}">
|
2019-06-11 01:40:44 +00:00
|
|
|
<span class=""><i class="fa fa-user-times"></i></span>
|
|
|
|
<span class="">{{$unfollow}}</span>
|
|
|
|
</a>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
{{if $wallmessage_link}}
|
2023-03-22 03:16:57 +00:00
|
|
|
<div id="wallmessage-link-button">
|
2023-01-19 11:56:25 +00:00
|
|
|
<button type="button" id="wallmessage-link" class="btn btn-labeled btn-primary" onclick="openWallMessage('{{$wallmessage_link}}')">
|
2019-06-11 01:40:44 +00:00
|
|
|
<span class=""><i class="fa fa-envelope"></i></span>
|
|
|
|
<span class="">{{$wallmessage}}</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2023-10-01 10:38:57 +00:00
|
|
|
{{if $contact.addr}}
|
|
|
|
<div id="mention-link-button">
|
|
|
|
<button type="button" id="mention-link" class="btn btn-labeled btn-primary{{if !$always_open_compose}} modal-open{{/if}}" onclick="openWallMessage('compose/0?body={{if $contact.forum==1}}!{{else}}@{{/if}}{{$contact.addr}}')">
|
|
|
|
<span class=""><i class="fa fa-pencil-square-o"></i></span>
|
2023-10-02 10:00:23 +00:00
|
|
|
<span class="">{{if $contact.forum==1}}{{$posttogroup}}{{else}}{{$mention}}{{/if}}</span>
|
2023-10-01 10:38:57 +00:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2023-10-01 10:34:56 +00:00
|
|
|
{{if $contact.forum==1 || $contact.prv==1}}
|
2023-10-01 12:25:23 +00:00
|
|
|
<div id="show-group-button">
|
|
|
|
<button type="button" id="show-group" class="btn btn-labeled btn-primary{{if !$always_open_compose}} modal-open{{/if}}" onclick="window.location.href='{{$showgroup_link}}'">
|
2023-10-01 10:34:56 +00:00
|
|
|
<span class=""><i class="fa fa-group"></i></span>
|
2023-10-01 12:25:23 +00:00
|
|
|
<span class="">{{$showgroup}}</span>
|
2023-10-01 10:34:56 +00:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2019-06-11 01:40:44 +00:00
|
|
|
</div>
|
2021-07-23 12:39:37 +00:00
|
|
|
|
|
|
|
<div class="clear"></div>
|
|
|
|
|
|
|
|
{{if $contact.location}}
|
|
|
|
<div class="location detail">
|
|
|
|
<span class="location-label icon"><i class="fa fa-map-marker"></i></span>
|
2021-07-24 13:11:49 +00:00
|
|
|
<span class="adr p-location">{{$contact.location}}</span>
|
2021-07-23 12:39:37 +00:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{if $contact.xmpp}}
|
2021-07-24 13:11:49 +00:00
|
|
|
<div class="xmpp detail">
|
2021-08-09 01:39:09 +00:00
|
|
|
<span class="xmpp-label icon"><i class="fa fa-xmpp"></i></span>
|
2021-07-23 12:39:37 +00:00
|
|
|
<span class="xmpp-data"><a href="xmpp:{{$contact.xmpp}}" rel="me" target="_blank" rel="noopener noreferrer">{{include file="sub/punct_wrap.tpl" text=$contact.xmpp}}</a></span>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
2021-08-09 01:39:09 +00:00
|
|
|
{{if $contact.matrix}}
|
|
|
|
<div class="matrix detail">
|
|
|
|
<span class="matrix-label icon"><i class="fa fa-matrix-org"></i></span>
|
|
|
|
<span class="matrix-data"><a href="matrix:{{$contact.matrix}}" rel="me" target="_blank" rel="noopener noreferrer">{{include file="sub/punct_wrap.tpl" text=$contact.matrix}}</a></span>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
2021-07-24 12:21:33 +00:00
|
|
|
{{if $network_link}}
|
2021-07-24 13:11:49 +00:00
|
|
|
<div class="network detail">
|
2021-07-24 12:21:33 +00:00
|
|
|
<span class="network-label icon"><i class="fa fa-{{$network_avatar}}"></i></span>
|
|
|
|
<span class="x-network">{{$network_link nofilter}}</span>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2016-03-28 14:29:05 +00:00
|
|
|
</div>
|
|
|
|
</div>
|