From: Tobias Diekershoff <tobias.diekershoff@gmx.net>
Date: Sat, 18 Jul 2015 08:57:31 +0000 (+0200)
Subject: show profile url in contact-edit overview listing
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9bb805f3dc3441aed56ab4f5f03d4a7a67163925;p=friendica.git

show profile url in contact-edit overview listing
---

diff --git a/mod/contacts.php b/mod/contacts.php
index ffb9f1a461..63dffab67f 100644
--- a/mod/contacts.php
+++ b/mod/contacts.php
@@ -605,6 +605,8 @@ function contacts_content(&$a) {
 			'$alt_text' => $alt_text,
 			'$sparkle' => $sparkle,
 			'$url' => $url,
+			'$profileurllabel' => t('Profile URL'),
+			'$profileurl' => $contact['url'],
 
 		));
 
diff --git a/view/templates/contact_edit.tpl b/view/templates/contact_edit.tpl
index 1b13dcdad7..06141081cb 100644
--- a/view/templates/contact_edit.tpl
+++ b/view/templates/contact_edit.tpl
@@ -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}}