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()) {
|
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");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user