Added backward link

This commit is contained in:
Pierre HUBERT 2018-07-04 11:39:33 +02:00
parent 4c3985fc24
commit 6239d43f05

View File

@ -21,6 +21,17 @@ ComunicWeb.pages.groups.pages.settings = {
class: "group-settings-container col-md-6" class: "group-settings-container col-md-6"
}); });
//Add backward link
var backwardLink = createElem2({
appendTo: settingsContainer,
type: "div",
class: "a",
innerHTML: "<i class='fa fa-arrow-left'></i> Go back to the group"
});
backwardLink.addEventListener("click", function(e){
openPage("groups/" + id);
});
//Add title //Add title
createElem2({ createElem2({
appendTo: settingsContainer, appendTo: settingsContainer,