Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

77 lines
3.3 KiB

  1. <div class="vcard h-card">
  2. <div class="tool">
  3. <div class="fn label p-name">{{$profile.name}}</div>
  4. {{if $profile.edit}}
  5. <div class="action">
  6. <a class="icon s16 edit ttright" href="{{$profile.edit.0}}" title="{{$profile.edit.3}}"><span>{{$profile.edit.1}}</span></a>
  7. </div>
  8. {{else}}
  9. {{if $profile.menu}}
  10. <div class="profile-edit-side-div"><a class="profile-edit-side-link icon edit" title="{{$editprofile}}" href="profiles" ></a></div>
  11. {{/if}}
  12. {{/if}}
  13. </div>
  14. {{if $profile.faddr}}<div class="p-faddr">{{$profile.faddr}}</div>{{/if}}
  15. {{if $pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}}
  16. {{if $profile.picdate}}
  17. <div id="profile-photo-wrapper"><a href="{{$profile.url}}"><img class="photo u-photo" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}"></a></div>
  18. {{else}}
  19. <div id="profile-photo-wrapper"><a href="{{$profile.url}}"><img class="photo u-photo" src="{{$profile.photo}}" alt="{{$profile.name}}"></a></div>
  20. {{/if}}
  21. {{if $profile.network_name}}<dl class="network"><dt class="network-label">{{$network}}</dt><dd class="x-network">{{$profile.network_name}}</dd></dl>{{/if}}
  22. {{if $location}}
  23. <dl class="location"><dt class="location-label">{{$location}}</dt>
  24. <dd class="adr">
  25. {{if $profile.address}}<div class="street-address p-street-address">{{$profile.address}}</div>{{/if}}
  26. <span class="city-state-zip">
  27. <span class="locality p-locality">{{$profile.locality}}</span>{{if $profile.locality}}, {{/if}}
  28. <span class="region p-region">{{$profile.region}}</span>
  29. <span class="postal-code p-postal-code">{{$profile.postal_code}}</span>
  30. </span>
  31. {{if $profile.country_name}}<span class="country-name p-country-name">{{$profile.country_name}}</span>{{/if}}
  32. </dd>
  33. </dl>
  34. {{/if}}
  35. {{if $gender}}<dl class="mf"><dt class="gender-label">{{$gender}}</dt> <dd class="x-gender p-gender-identity">{{$profile.gender}}</dd></dl>{{/if}}
  36. {{if $profile.pubkey}}<div class="key u-key" style="display:none;">{{$profile.pubkey}}</div>{{/if}}
  37. {{if $contacts}}<div class="contacts" style="display:none;">{{$contacts}}</div>{{/if}}
  38. {{if $updated}}<div class="updated" style="display:none;">{{$updated}}</div>{{/if}}
  39. {{if $marital}}<dl class="marital"><dt class="marital-label"><span class="heart">&hearts;</span>{{$marital}}</dt><dd class="marital-text">{{$profile.marital}}</dd></dl>{{/if}}
  40. {{if $homepage}}<dl class="homepage"><dt class="homepage-label">{{$homepage}}</dt><dd class="homepage-url u-url"><a href="{{$profile.homepage}}" rel="me" target="_blank">{{$profile.homepage}}</a></dd></dl>{{/if}}
  41. {{if $about}}<dl class="about"><dt class="about-label">{{$about}}</dt><dd class="x-network">{{$profile.about}}</dd></dl>{{/if}}
  42. {{include file="diaspora_vcard.tpl"}}
  43. <div id="profile-extra-links">
  44. <ul>
  45. {{if $connect}}
  46. {{if $remoteconnect}}
  47. <li><a id="dfrn-request-link" href="{{$remoteconnect}}">{{$connect}}</a></li>
  48. {{else}}
  49. <li><a id="dfrn-request-link" href="dfrn_request/{{$profile.nickname}}">{{$connect}}</a></li>
  50. {{/if}}
  51. {{/if}}
  52. {{if $wallmessage}}
  53. <li><a id="wallmessage-link" href="wallmessage/{{$profile.nickname}}">{{$wallmessage}}</a></li>
  54. {{/if}}
  55. {{if $subscribe_feed}}
  56. <li><a id="subscribe-feed-link" href="dfrn_poll/{{$profile.nickname}}">{{$subscribe_feed}}</a></li>
  57. {{/if}}
  58. </ul>
  59. </div>
  60. </div>
  61. {{$contact_block}}