Display the posts of a group

This commit is contained in:
Pierre HUBERT
2018-07-17 09:23:44 +02:00
parent 2032017b0c
commit 74e06a2b89
6 changed files with 164 additions and 0 deletions

View File

@ -90,6 +90,21 @@ ComunicWeb.pages.groups.pages.group = {
ComunicWeb.components.posts.form.display("group", id, postFormCol);
}
//Display group posts
var postsRow = createElem2({
appendTo: target,
type: "div",
class: "row group-page"
});
var postsCol = createElem2({
appendTo: postsRow,
type: "div",
class: "col-md-6"
});
ComunicWeb.pages.groups.sections.posts.display(info, postsCol);
}
}