feat: add persistence for tenant email status field

- Add tenantEmailStatus hidden field to LocationEditForm
- Update locationActions to persist email status across all scopes
- Add reset button for unsubscribed email status
- Improve email status display with new/modified indicators
- Update translations for email status messages

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Knee Cola
2025-12-29 23:05:57 +01:00
parent b20d68405c
commit fe98a63594
4 changed files with 44 additions and 11 deletions

View File

@@ -196,10 +196,12 @@
"tenant-email-legend": "TENANT EMAIL",
"tenant-email-placeholder": "enter tenant's email",
"email-status": {
"reset-button-label": "Reset",
"new": "a new e-mail address will need to be verified by the tenant",
"unverified": "this e-mail address will need to be verified by the tenant",
"verification-pending": "waiting for tenant to verify this email address",
"verified": "this e-mail address has been verified",
"unsubscribed": "tenant unsubscribed this address e-mail address from receiving emails"
"unsubscribed": "tenant unsubscribed this address from receiving emails"
},
"warning-missing-tenant-names": "Warning: Tenant first and last name are missing. The 2D barcode will not be displayed to the tenant when they open the shared link until both fields are filled in.",
"save-button": "Save",

View File

@@ -195,7 +195,9 @@
"tenant-email-legend": "EMAIL PODSTANARA",
"tenant-email-placeholder": "unesite email podstanara",
"email-status": {
"unverified": "podstanar će morati potvrditi ovu e-mail adresu",
"reset-button-label": "Reset",
"new": "nova e-mail adresa - podstanar će je morati potvrditi",
"unverified": "čeka se da podstanar potvrdi e-mail",
"verification-pending": "čeka se da podstanar potvrdi e-mail",
"verified": "podstanar je potvrdio ovu e-mail adresu",
"unsubscribed": "podstanar je odjavio ovu e-mail adresu"