2016-03-28 16:29:05 +02:00
|
|
|
<div class="vcard h-card widget">
|
|
|
|
|
2018-07-25 22:12:30 +02:00
|
|
|
<div id="profile-photo-wrapper">
|
|
|
|
{{if $profile.picdate}}
|
|
|
|
<a href="{{$profile.url}}"><img class="photo u-photo" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}" /></a>
|
|
|
|
{{else}}
|
|
|
|
<a href="{{$profile.url}}"><img class="photo u-photo" src="{{$profile.photo}}" alt="{{$profile.name}}" /></a>
|
|
|
|
{{/if}}
|
2016-03-28 16:29:05 +02:00
|
|
|
|
2018-07-25 22:12:30 +02:00
|
|
|
<div class="tool visible-lg visible-md">
|
2016-03-28 16:29:05 +02:00
|
|
|
{{if $profile.edit}}
|
2018-07-25 22:12:30 +02:00
|
|
|
<div class="action">
|
|
|
|
<a class="" href="{{$profile.edit.0}}" title="{{$profile.edit.3}}"><i class="fa fa-pencil-square-o"></i></a>
|
|
|
|
</div>
|
2016-03-28 16:29:05 +02:00
|
|
|
{{else}}
|
|
|
|
{{if $profile.menu}}
|
2018-07-25 22:12:30 +02:00
|
|
|
<div class="profile-edit-side-div"><a class="profile-edit-side-link icon edit" title="{{$editprofile}}" href="profiles" ></a></div>
|
2016-03-28 16:29:05 +02:00
|
|
|
{{/if}}
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
|
2018-07-25 22:12:30 +02:00
|
|
|
</div>
|
|
|
|
|
2016-06-11 01:28:25 +02: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">
|
|
|
|
<img class="media-object" src="{{$profile.photo}}" alt="{{$profile.name}}" />
|
|
|
|
</div>
|
2016-03-28 16:29:05 +02:00
|
|
|
|
2016-06-11 01:28:25 +02:00
|
|
|
<div id="vcard-short-desc" class="media-body">
|
|
|
|
<h4 class="media-heading">{{$profile.name}}</h4>
|
|
|
|
{{if $profile.addr}}<div class="vcard-short-addr">{{$profile.addr}}</div>{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-03-28 16:29:05 +02:00
|
|
|
|
|
|
|
<div class="panel-body">
|
|
|
|
<div class="profile-header">
|
2018-07-25 22:12:30 +02:00
|
|
|
<h3 class="fn p-name">{{$profile.name}}</h3>
|
2016-03-28 16:29:05 +02:00
|
|
|
|
|
|
|
{{if $profile.addr}}<div class="p-addr">{{$profile.addr}}</div>{{/if}}
|
|
|
|
|
|
|
|
{{if $profile.pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="profile-extra-links">
|
2018-07-25 22:12:30 +02:00
|
|
|
{{if $connect}}
|
|
|
|
<div id="dfrn-request-link-button">
|
|
|
|
{{if $remoteconnect}}
|
|
|
|
<a id="dfrn-request-link" class="btn btn-primary btn-sm" href="{{$remoteconnect}}">
|
|
|
|
<span class=""><i class="fa fa-user-plus"></i></span>
|
|
|
|
<span class="">{{$connect}}</span>
|
|
|
|
</a>
|
|
|
|
{{else}}
|
|
|
|
<a id="dfrn-request-link" class="btn btn-labeled btn-primary btn-sm" href="dfrn_request/{{$profile.nickname}}">
|
|
|
|
<span class=""><i class="fa fa-user-plus"></i></span>
|
|
|
|
<span class="">{{$connect}}</span>
|
|
|
|
</a>
|
2016-03-28 16:29:05 +02:00
|
|
|
{{/if}}
|
2018-07-25 22:12:30 +02:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
{{if $wallmessage}}
|
|
|
|
<div id="wallmessage-link-botton">
|
|
|
|
<button type="button" id="wallmessage-link" class="btn btn-labeled btn-primary btn-sm" onclick="openWallMessage('{{$wallmessage_link}}')">
|
|
|
|
<span class=""><i class="fa fa-envelope"></i></span>
|
|
|
|
<span class="">{{$wallmessage}}</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2016-03-28 16:29:05 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="clear"></div>
|
|
|
|
|
|
|
|
{{if $location}}
|
2018-07-25 22:12:30 +02:00
|
|
|
<div class="location detail">
|
|
|
|
<span class="location-label icon"><i class="fa fa-map-marker"></i></span>
|
|
|
|
<span class="adr">
|
|
|
|
{{if $profile.address}}<span class="street-address p-street-address">{{$profile.address}}</span>{{/if}}
|
|
|
|
<span class="city-state-zip">
|
|
|
|
<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 16:29:05 +02:00
|
|
|
</span>
|
2018-07-25 22:12:30 +02:00
|
|
|
{{if $profile.country_name}}<span class="country-name p-country-name">{{$profile.country_name}}</span>{{/if}}
|
|
|
|
</span>
|
|
|
|
</div>
|
2016-03-28 16:29:05 +02:00
|
|
|
{{/if}}
|
|
|
|
|
2016-09-25 17:28:00 +02:00
|
|
|
{{if $profile.xmpp}}
|
2018-07-25 22:12:30 +02:00
|
|
|
<div class="xmpp">
|
|
|
|
<span class="xmpp-label icon"><i class="fa fa-comments"></i></span>
|
|
|
|
<span class="xmpp-data">{{$profile.xmpp}}</span>
|
|
|
|
</div>
|
2016-09-25 17:28:00 +02:00
|
|
|
{{/if}}
|
2016-03-28 16:29:05 +02:00
|
|
|
|
|
|
|
{{if $gender}}
|
|
|
|
<div class="mf detail">
|
|
|
|
<span class="gender-label icon"><i class="fa fa-venus-mars"></i></span>
|
2016-06-21 16:23:43 +02:00
|
|
|
<span class="p-gender">{{$profile.gender}}</span>
|
2016-03-28 16:29:05 +02:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{if $profile.pubkey}}<div class="key u-key" style="display:none;">{{$profile.pubkey}}</div>{{/if}}
|
|
|
|
|
|
|
|
{{if $contacts}}<div class="contacts" style="display:none;">{{$contacts}}</div>{{/if}}
|
|
|
|
|
|
|
|
{{if $updated}}<div class="updated" style="display:none;">{{$updated}}</div>{{/if}}
|
|
|
|
|
|
|
|
{{if $marital}}
|
|
|
|
<div class="marital detail">
|
|
|
|
<span class="marital-label icon"><i class="fa fa-heart"></i></span>
|
|
|
|
<span class="marital-text icon">{{$profile.marital}}</span>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{if $homepage}}
|
|
|
|
<div class="homepage detail">
|
|
|
|
<span class="homepage-label icon"><i class="fa fa-external-link-square"></i></span>
|
|
|
|
<span class="homepage-url u-url"><a href="{{$profile.homepage}}" rel="me" target="_blank">{{$profile.homepage}}</a></span>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{if $about}}<dl class="about" style="display:none;"><dt class="about-label">{{$about}}</dt><dd class="x-network">{{$profile.about}}</dd></dl>{{/if}}
|
|
|
|
|
|
|
|
{{include file="diaspora_vcard.tpl"}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{if $contact_block}}
|
|
|
|
<div class="widget" id="widget-contacts">
|
|
|
|
{{$contact_block}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|