Browse Source

show profile url in contact-edit overview listing

pull/1768/head
Tobias Diekershoff 6 years ago
parent
commit
9bb805f3dc
2 changed files with 3 additions and 0 deletions
  1. +2
    -0
      mod/contacts.php
  2. +1
    -0
      view/templates/contact_edit.tpl

+ 2
- 0
mod/contacts.php View File

@ -605,6 +605,8 @@ function contacts_content(&$a) {
'$alt_text' => $alt_text,
'$sparkle' => $sparkle,
'$url' => $url,
'$profileurllabel' => t('Profile URL'),
'$profileurl' => $contact['url'],
));


+ 1
- 0
view/templates/contact_edit.tpl View File

@ -20,6 +20,7 @@
<li><div id="contact-edit-rel">{{$relation_text}}</div></li>
{{/if}}
<li><div id="contact-edit-nettype">{{$nettype}}</div></li>
<li><div id="contact-edit-profileurl">{{$profileurllabel}}: <a href="{{$url}}">{{$profileurl}}</a></div></li>
{{if $lost_contact}}
<li><div id="lost-contact-message">{{$lost_contact}}</div></li>
{{/if}}


Loading…
Cancel
Save