mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 20:19:21 +00:00
Added backward link
This commit is contained in:
parent
4c3985fc24
commit
6239d43f05
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user