mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 04:04:20 +00:00 
			
		
		
		
	Added backward link
This commit is contained in:
		@@ -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,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user