mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-26 13:59:23 +00:00
Display user tag
This commit is contained in:
parent
ee468de97d
commit
a52e074e5b
12
assets/css/pages/userPage/profileInfos.css
Normal file
12
assets/css/pages/userPage/profileInfos.css
Normal 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;
|
||||||
|
}
|
@ -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
|
//Show user likes
|
||||||
var userLikesTarget = createElem2({
|
var userLikesTarget = createElem2({
|
||||||
|
@ -181,6 +181,7 @@ class Dev {
|
|||||||
//User Page
|
//User Page
|
||||||
"css/pages/userPage/main.css",
|
"css/pages/userPage/main.css",
|
||||||
"css/pages/userPage/accessForbidden.css",
|
"css/pages/userPage/accessForbidden.css",
|
||||||
|
"css/pages/userPage/profileInfos.css",
|
||||||
|
|
||||||
//Post page
|
//Post page
|
||||||
"css/pages/postPage/main.css",
|
"css/pages/postPage/main.css",
|
||||||
|
Loading…
Reference in New Issue
Block a user