From 33ba1e8bbb109a97edcfc72648ce072f47d89b25 Mon Sep 17 00:00:00 2001 From: Kenneth SOARES Date: Sun, 11 May 2025 16:05:21 +0200 Subject: [PATCH] added button to layout --- com/static/bundled/com/components/ics-calendar-index.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/com/static/bundled/com/components/ics-calendar-index.ts b/com/static/bundled/com/components/ics-calendar-index.ts index f3bb9e9e..d0f3e542 100644 --- a/com/static/bundled/com/components/ics-calendar-index.ts +++ b/com/static/bundled/com/components/ics-calendar-index.ts @@ -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");