mirror of
				https://github.com/ae-utbm/sith.git
				synced 2025-11-04 11:03:04 +00:00 
			
		
		
		
	added button to layout
This commit is contained in:
		@@ -53,11 +53,11 @@ export class IcsCalendar extends inheritHtmlElement("div") {
 | 
				
			|||||||
    if (this.isMobile()) {
 | 
					    if (this.isMobile()) {
 | 
				
			||||||
      return {
 | 
					      return {
 | 
				
			||||||
        start: "",
 | 
					        start: "",
 | 
				
			||||||
        center: "getCalendarLink",
 | 
					        center: "getCalendarLink helpButton",
 | 
				
			||||||
        end: "",
 | 
					        end: "",
 | 
				
			||||||
      };
 | 
					      };
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    return { start: "getCalendarLink", center: "", end: "" };
 | 
					    return { start: "getCalendarLink helpButton", center: "", end: "" };
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  currentHeaderToolbar() {
 | 
					  currentHeaderToolbar() {
 | 
				
			||||||
@@ -342,6 +342,7 @@ export class IcsCalendar extends inheritHtmlElement("div") {
 | 
				
			|||||||
        },
 | 
					        },
 | 
				
			||||||
        helpButton: {
 | 
					        helpButton: {
 | 
				
			||||||
          text: "?",
 | 
					          text: "?",
 | 
				
			||||||
 | 
					          hint: gettext("how to use calendar link"),
 | 
				
			||||||
          click: () => {
 | 
					          click: () => {
 | 
				
			||||||
            if (this.helpUrl) {
 | 
					            if (this.helpUrl) {
 | 
				
			||||||
              window.open(this.helpUrl, "_blank");
 | 
					              window.open(this.helpUrl, "_blank");
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user