From c2cfcb4684774eae082072ee335f8481a0b2cce2 Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 26 Mar 2026 11:31:59 +0100 Subject: [PATCH] feat: add API token hint to CalDAV settings page --- frontend/src/i18n/lang/en.json | 3 ++- frontend/src/views/user/settings/Caldav.vue | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/frontend/src/i18n/lang/en.json b/frontend/src/i18n/lang/en.json index 28e185a4a..4bd8c723e 100644 --- a/frontend/src/i18n/lang/en.json +++ b/frontend/src/i18n/lang/en.json @@ -156,7 +156,8 @@ "tokenCreated": "Here is your new token: {token}", "wontSeeItAgain": "Write it down or save it securely — you will not be able to see it again.", "mustUseToken": "You need to create a CalDAV token to use CalDAV with any third-party client. Enter the token in the password field of your client.", - "usernameIs": "Your username for CalDAV is: {0}" + "usernameIs": "Your username for CalDAV is: {0}", + "apiTokenHint": "You can also use an API token with CalDAV permission. Create one in {link}." }, "avatar": { "title": "Avatar", diff --git a/frontend/src/views/user/settings/Caldav.vue b/frontend/src/views/user/settings/Caldav.vue index 0525b9867..3fc1b2d15 100644 --- a/frontend/src/views/user/settings/Caldav.vue +++ b/frontend/src/views/user/settings/Caldav.vue @@ -36,6 +36,19 @@

+

+ + + +

+