diff --git a/assets/css/pages/userPage/profileInfos.css b/assets/css/pages/userPage/profileInfos.css index f21308f2..e4728f97 100644 --- a/assets/css/pages/userPage/profileInfos.css +++ b/assets/css/pages/userPage/profileInfos.css @@ -13,4 +13,8 @@ .about-user-box { word-break: break-all; +} + +.about-user-box .emoji { + height: 1em !important; } \ No newline at end of file diff --git a/assets/js/pages/userPage/profileInfos.js b/assets/js/pages/userPage/profileInfos.js index 850543c7..13d2d7d1 100644 --- a/assets/js/pages/userPage/profileInfos.js +++ b/assets/js/pages/userPage/profileInfos.js @@ -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,