mirror of
https://github.com/documenso/documenso.git
synced 2026-07-15 07:17:09 +10:00
138d663c25
Merge origin/main into feat/external-2fa-codes. Resolve formatting conflicts caused by biome rollout; preserve both feature streams: PR's external 2FA token + signing-session 2FA proof additions plus main's RateLimit/RecipientExpired/signingReminders/date-auto-insert. In complete-document-with-token.ts, drop the duplicate early field-fetching block introduced when main moved that logic later with date auto-insert support; keep the EXTERNAL_TWO_FACTOR_AUTH check using derivedRecipientActionAuth.
27 lines
1.0 KiB
TypeScript
27 lines
1.0 KiB
TypeScript
import { Trans } from '@lingui/react/macro';
|
|
|
|
export const DocumentSendEmailMessageHelper = () => {
|
|
return (
|
|
<div>
|
|
<p className="text-muted-foreground text-sm">
|
|
<Trans>You can use the following variables in your message:</Trans>
|
|
</p>
|
|
|
|
<ul className="mt-2 flex list-inside list-disc flex-col gap-y-2 text-sm">
|
|
<li className="text-muted-foreground">
|
|
<code className="rounded bg-muted-foreground/20 p-1 text-muted-foreground text-sm">{'{signer.name}'}</code> -{' '}
|
|
<Trans>The signer's name</Trans>
|
|
</li>
|
|
<li className="text-muted-foreground">
|
|
<code className="rounded bg-muted-foreground/20 p-1 text-muted-foreground text-sm">{'{signer.email}'}</code> -{' '}
|
|
<Trans>The signer's email</Trans>
|
|
</li>
|
|
<li className="text-muted-foreground">
|
|
<code className="rounded bg-muted-foreground/20 p-1 text-muted-foreground text-sm">{'{document.name}'}</code>{' '}
|
|
- <Trans>The document's name</Trans>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
);
|
|
};
|