From f4df523b1cc6e1adf38cde2b53a76b674c5e4a66 Mon Sep 17 00:00:00 2001 From: Pierre Date: Sat, 5 May 2018 11:14:13 +0200 Subject: [PATCH] User can set public notes --- assets/js/pages/settings/sections/general.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/assets/js/pages/settings/sections/general.js b/assets/js/pages/settings/sections/general.js index 92b9883f..a64045d5 100644 --- a/assets/js/pages/settings/sections/general.js +++ b/assets/js/pages/settings/sections/general.js @@ -194,6 +194,15 @@ ComunicWeb.pages.settings.sections.general = { value: infos.personnal_website != "null" ? infos.personnal_website : "" }); + //Public notes + var publicNotes = createFormGroup({ + target: target, + label: "Public notes for your account 255 characters max (optionnal)", + type: "textarea", + placeholder: "Notes about your account...", + value: infos.publicNote != "null" ? infos.publicNote : "" + }); + //Virtual directory var virtualDirectory = createFormGroup({ target: target, @@ -264,7 +273,8 @@ ComunicWeb.pages.settings.sections.general = { allowPostsFromFriends: allowPostsFromFriends.checked, publicFriendsList: publicFriendsList.checked, personnalWebsite: personnalWebsite.value, - virtualDirectory: virtualDirectory.value + virtualDirectory: virtualDirectory.value, + publicNote: publicNotes.value, }; //Lock send button