mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 12:09:21 +00:00
Added basic group information
This commit is contained in:
parent
a3ddd525d0
commit
30696174f2
@ -15,3 +15,8 @@
|
||||
.group-header .group-name {
|
||||
font-size: 200%;
|
||||
}
|
||||
|
||||
.group-header .col-info .fa {
|
||||
margin-right: 10px;
|
||||
width: 10px;
|
||||
}
|
@ -50,6 +50,27 @@ ComunicWeb.pages.groups.sections.header = {
|
||||
class: "group-name",
|
||||
innerHTML: info.name
|
||||
});
|
||||
|
||||
//Second column : information about the company
|
||||
var secondColumn = createElem2({
|
||||
appendTo: row,
|
||||
type: "div",
|
||||
class: "col-lg-4 col-info"
|
||||
});
|
||||
|
||||
//Add join date
|
||||
var joinDate = createElem2({
|
||||
appendTo: secondColumn,
|
||||
type: "div",
|
||||
innerHTML: '<i class="fa fa-clock-o"></i> Joined '+ComunicWeb.common.date.timeDiffToStr(info.time_create)+' ago'
|
||||
});
|
||||
|
||||
//Add number of members
|
||||
var joinDate = createElem2({
|
||||
appendTo: secondColumn,
|
||||
type: "div",
|
||||
innerHTML: '<i class="fa fa-group"></i> '+ info.number_members+' members'
|
||||
});
|
||||
},
|
||||
|
||||
};
|
Loading…
Reference in New Issue
Block a user