Display group tag

This commit is contained in:
Pierre HUBERT 2018-07-15 18:37:10 +02:00
parent 51c248e463
commit a62d2a495e
2 changed files with 17 additions and 0 deletions

View File

@ -13,6 +13,10 @@
font-size: 200%;
}
.group-header .group-tag {
color: #6f737b;
}
.group-header .col-info .fa {
margin-right: 10px;
width: 10px;

View File

@ -51,6 +51,16 @@ ComunicWeb.pages.groups.sections.header = {
innerHTML: info.name
});
//Group tag (if any)
if(info.virtual_directory != "null"){
createElem2({
appendTo: firstColumn,
type: "small",
class: "group-tag",
innerHTML: "@" + info.virtual_directory
});
}
//Second column : Information about the company
var secondColumn = createElem2({
@ -61,6 +71,9 @@ ComunicWeb.pages.groups.sections.header = {
add_p(secondColumn, "Column 2 : Group info");
//Third column : information about the group
var thirdColumn = createElem2({
appendTo: row,