mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 04:09:20 +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"
|
||||
});
|
||||
|
||||
//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
|
||||
createElem2({
|
||||
appendTo: settingsContainer,
|
||||
|
Loading…
Reference in New Issue
Block a user