From 89f0cd7e921c74e20a7c2c5fa74bab2739e59d45 Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Wed, 28 Oct 2026 04:37:24 +0100 Subject: [PATCH] fix: say that {company} takes the branding of the web address Bulwark is opened on --- app/(main)/admin/__tests__/org-signatures-page.test.tsx | 2 ++ components/admin/org/sections/signature-section.tsx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/(main)/admin/__tests__/org-signatures-page.test.tsx b/app/(main)/admin/__tests__/org-signatures-page.test.tsx index ad71701ad..d88c7e847 100644 --- a/app/(main)/admin/__tests__/org-signatures-page.test.tsx +++ b/app/(main)/admin/__tests__/org-signatures-page.test.tsx @@ -78,6 +78,8 @@ describe('Organisation > Signatures', () => { fireEvent.focus(text); fireEvent.click(screen.getByRole('button', { name: '{department}' })); await waitFor(() => expect((screen.getByTestId('org-signature-text') as HTMLTextAreaElement).value).toBe('{department}')); + // Branding per domain goes by the web address Bulwark is opened on, not the sender's domain. + expect(screen.getByText('company name from Branding, for the web address Bulwark is opened on')).toBeInTheDocument(); }); it('sets a disclaimer for a scope, with a preview', async () => { diff --git a/components/admin/org/sections/signature-section.tsx b/components/admin/org/sections/signature-section.tsx index 77393b21b..6d58008fe 100644 --- a/components/admin/org/sections/signature-section.tsx +++ b/components/admin/org/sections/signature-section.tsx @@ -30,7 +30,7 @@ const PLACEHOLDER_HELP: Record = { name: 'name of the address the mail is sent from', email: 'that address', identity: 'name and address, as in From', - company: 'company name from Branding (per domain)', + company: 'company name from Branding, for the web address Bulwark is opened on', domain: 'domain of the address', title: 'job title the user fills in', department: 'department the user fills in',