mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-26 13:59:23 +00:00
User can set public notes
This commit is contained in:
parent
66a67d1491
commit
f4df523b1c
@ -194,6 +194,15 @@ ComunicWeb.pages.settings.sections.general = {
|
|||||||
value: infos.personnal_website != "null" ? infos.personnal_website : ""
|
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
|
//Virtual directory
|
||||||
var virtualDirectory = createFormGroup({
|
var virtualDirectory = createFormGroup({
|
||||||
target: target,
|
target: target,
|
||||||
@ -264,7 +273,8 @@ ComunicWeb.pages.settings.sections.general = {
|
|||||||
allowPostsFromFriends: allowPostsFromFriends.checked,
|
allowPostsFromFriends: allowPostsFromFriends.checked,
|
||||||
publicFriendsList: publicFriendsList.checked,
|
publicFriendsList: publicFriendsList.checked,
|
||||||
personnalWebsite: personnalWebsite.value,
|
personnalWebsite: personnalWebsite.value,
|
||||||
virtualDirectory: virtualDirectory.value
|
virtualDirectory: virtualDirectory.value,
|
||||||
|
publicNote: publicNotes.value,
|
||||||
};
|
};
|
||||||
|
|
||||||
//Lock send button
|
//Lock send button
|
||||||
|
Loading…
Reference in New Issue
Block a user