From: Tobias Diekershoff Date: Tue, 1 Aug 2017 15:47:13 +0000 (+0200) Subject: Show contacts personal message in local profile X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=016e4a0efcc0d4a276239e9300b6705945a5d0b7;p=friendica.git Show contacts personal message in local profile --- diff --git a/mod/contacts.php b/mod/contacts.php index 8ba8e866de..6b40f04552 100644 --- a/mod/contacts.php +++ b/mod/contacts.php @@ -589,6 +589,8 @@ function contacts_content(App $a) { '$lbl_vis1' => t('Profile Visibility'), '$lbl_vis2' => sprintf( t('Please choose the profile you would like to display to %s when viewing your profile securely.'), $contact['name']), '$lbl_info1' => t('Contact Information / Notes'), + '$lbl_info2' => t('Their personal note'), + '$reason' => trim(notags($contact['reason'])), '$infedit' => t('Edit contact notes'), '$common_text' => $common_text, '$common_link' => 'common/loc/' . local_user() . '/' . $contact['id'], diff --git a/view/templates/contact_edit.tpl b/view/templates/contact_edit.tpl index e7856128a5..bad1b63c35 100644 --- a/view/templates/contact_edit.tpl +++ b/view/templates/contact_edit.tpl @@ -81,6 +81,14 @@
+ {{if $reason}} +
+

{{$lbl_info2}}

+

{{$reason}}

+
+
+ {{/if}} + {{if $profile_select}}

{{$lbl_vis1}}