]> git.mxchange.org Git - friendica.git/commitdiff
show profile url in contact-edit overview listing
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Sat, 18 Jul 2015 08:57:31 +0000 (10:57 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Sat, 18 Jul 2015 08:57:31 +0000 (10:57 +0200)
mod/contacts.php
view/templates/contact_edit.tpl

index ffb9f1a4614f6730b4af8d6242f25d6479527d34..63dffab67f047a0bc4e968485fbcbe87c99a4407 100644 (file)
@@ -605,6 +605,8 @@ function contacts_content(&$a) {
                        '$alt_text' => $alt_text,
                        '$sparkle' => $sparkle,
                        '$url' => $url,
+                       '$profileurllabel' => t('Profile URL'),
+                       '$profileurl' => $contact['url'],
 
                ));
 
index 1b13dcdad755ba2f94f0a8f183069b8070e87100..06141081cb7797df3a5a70ee5f7071e4d92d6cf6 100644 (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}}