mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 04:04:20 +00:00 
			
		
		
		
	Display user public notes
This commit is contained in:
		@@ -237,6 +237,41 @@ ComunicWeb.pages.userPage.profileInfos = {
 | 
			
		||||
			});
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		//Add user public note (if any)
 | 
			
		||||
		if(infos.publicNote){
 | 
			
		||||
			var userNote = createElem2({
 | 
			
		||||
				appendTo: boxBody,
 | 
			
		||||
				type: "strong"
 | 
			
		||||
			});
 | 
			
		||||
			createElem2({
 | 
			
		||||
				appendTo: userNote,
 | 
			
		||||
				type: "i",
 | 
			
		||||
				class: "fa fa-file-text-o margin-r-5"
 | 
			
		||||
			});
 | 
			
		||||
			createElem2({
 | 
			
		||||
				appendTo: userNote,
 | 
			
		||||
				type: "span",
 | 
			
		||||
				innerHTML: "Note"
 | 
			
		||||
			});
 | 
			
		||||
			var publicNotes = createElem2({
 | 
			
		||||
				appendTo: boxBody,
 | 
			
		||||
				type: "p",
 | 
			
		||||
				class: "text-muted",
 | 
			
		||||
				innerHTML: infos.publicNote
 | 
			
		||||
			});
 | 
			
		||||
 | 
			
		||||
			//Parse text
 | 
			
		||||
			ComunicWeb.components.textParser.parse({
 | 
			
		||||
				element: publicNotes
 | 
			
		||||
			});
 | 
			
		||||
 | 
			
		||||
			//Add separator
 | 
			
		||||
			createElem2({
 | 
			
		||||
				appendTo: boxBody,
 | 
			
		||||
				type: "hr",
 | 
			
		||||
			});
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		//Add informations about membership
 | 
			
		||||
		var membershipInfos = createElem2({
 | 
			
		||||
			appendTo: boxBody,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user