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