Display user tag

This commit is contained in:
Pierre 2018-05-03 21:56:58 +02:00
parent ee468de97d
commit a52e074e5b
3 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,12 @@
/**
* Profile information stylesheet
*
* @author Pierre HUBERT
*/
.user-tag-in-profile {
color: #6f737b;
text-align: center;
font-size: 90%;
margin-bottom: 10px;
}

View File

@ -64,6 +64,16 @@ ComunicWeb.pages.userPage.profileInfos = {
});
//Add user virtual directory (if any)
if(infos.virtualDirectory != ""){
var userTag = createElem2({
appendTo: boxBody,
type: "div",
innerHTML: "@"+ infos.virtualDirectory,
class: "user-tag-in-profile"
});
}
//Show user likes
var userLikesTarget = createElem2({

View File

@ -181,6 +181,7 @@ class Dev {
//User Page
"css/pages/userPage/main.css",
"css/pages/userPage/accessForbidden.css",
"css/pages/userPage/profileInfos.css",
//Post page
"css/pages/postPage/main.css",