diff --git a/assets/js/pages/groups/pages/settings.js b/assets/js/pages/groups/pages/settings.js index de82aca5..fbf61841 100644 --- a/assets/js/pages/groups/pages/settings.js +++ b/assets/js/pages/groups/pages/settings.js @@ -21,6 +21,17 @@ ComunicWeb.pages.groups.pages.settings = { class: "group-settings-container col-md-6" }); + //Add backward link + var backwardLink = createElem2({ + appendTo: settingsContainer, + type: "div", + class: "a", + innerHTML: " Go back to the group" + }); + backwardLink.addEventListener("click", function(e){ + openPage("groups/" + id); + }); + //Add title createElem2({ appendTo: settingsContainer,