diff --git a/assets/css/pages/groups/sections/header.css b/assets/css/pages/groups/sections/header.css index 9f8f119a..b2556eac 100644 --- a/assets/css/pages/groups/sections/header.css +++ b/assets/css/pages/groups/sections/header.css @@ -13,6 +13,10 @@ font-size: 200%; } +.group-header .group-tag { + color: #6f737b; +} + .group-header .col-info .fa { margin-right: 10px; width: 10px; diff --git a/assets/js/pages/groups/sections/header.js b/assets/js/pages/groups/sections/header.js index d3dbae9f..732f9a22 100644 --- a/assets/js/pages/groups/sections/header.js +++ b/assets/js/pages/groups/sections/header.js @@ -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,