From 532ad4c0e0de35bd1f8b25cccfa5a8a9396e2083 Mon Sep 17 00:00:00 2001
From: Knee Cola
Date: Wed, 31 Dec 2025 10:48:38 +0100
Subject: [PATCH] refactor: move language selector into tenant email fieldset
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Improved UI organization by moving the language selector into the same fieldset
as the tenant email input, since both are related to email notifications. The
language selector now only appears when email notifications are enabled.
Changes:
- Move language selector inside tenant email fieldset (no separate fieldset)
- Add label for tenant email input field
- Simplify notification language label text
- Remove unused notification-language-legend translation key
- Language selector shares visibility condition with email field
This provides a more logical grouping of related settings and reduces visual
clutter when email notifications are disabled.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5
---
web-app/app/ui/LocationEditForm.tsx | 11 +++++------
web-app/messages/en.json | 4 ++--
web-app/messages/hr.json | 4 ++--
3 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/web-app/app/ui/LocationEditForm.tsx b/web-app/app/ui/LocationEditForm.tsx
index b3cef2f..57fe430 100644
--- a/web-app/app/ui/LocationEditForm.tsx
+++ b/web-app/app/ui/LocationEditForm.tsx
@@ -359,6 +359,9 @@ export const LocationEditForm: FC = ({ location, yearMont
{(formValues.billFwdEnabled || formValues.rentDueNotificationEnabled) && (