From a1d8538c64beb4d7e8559934985772fba27623ca Mon Sep 17 00:00:00 2001 From: Elias Schneider Date: Sun, 7 Sep 2025 19:49:07 +0200 Subject: [PATCH] feat: add info box to app settings if UI config is disabled --- frontend/messages/en.json | 4 +++- .../src/lib/components/ui/alert/alert.svelte | 7 ++++--- .../application-configuration/+page.svelte | 19 ++++++++++++++++++- 3 files changed, 25 insertions(+), 5 deletions(-) diff --git a/frontend/messages/en.json b/frontend/messages/en.json index ab5dd571..a9646258 100644 --- a/frontend/messages/en.json +++ b/frontend/messages/en.json @@ -443,5 +443,7 @@ "custom_client_id_description": "Set a custom client ID if this is required by your application. Otherwise, leave it blank to generate a random one.", "generated": "Generated", "administration": "Administration", - "group_rdn_attribute_description": "The attribute used in the groups distinguished name (DN). Recommended value: `cn`" + "group_rdn_attribute_description": "The attribute used in the groups distinguished name (DN). Recommended value: `cn`", + "ui_config_disabled_info_title": "UI Configuration Disabled", + "ui_config_disabled_info_description": "The UI configuration is disabled because the application configuration settings are managed through environment variables. Some settings may not be editable." } diff --git a/frontend/src/lib/components/ui/alert/alert.svelte b/frontend/src/lib/components/ui/alert/alert.svelte index eafe6b5f..32a5fbf5 100644 --- a/frontend/src/lib/components/ui/alert/alert.svelte +++ b/frontend/src/lib/components/ui/alert/alert.svelte @@ -1,11 +1,12 @@