diff --git a/apps/remix/app/components/general/document-signing/document-signing-page-view-v1.tsx b/apps/remix/app/components/general/document-signing/document-signing-page-view-v1.tsx index 449820f13..33e05b749 100644 --- a/apps/remix/app/components/general/document-signing/document-signing-page-view-v1.tsx +++ b/apps/remix/app/components/general/document-signing/document-signing-page-view-v1.tsx @@ -187,45 +187,74 @@ export const DocumentSigningPageViewV1 = ({
- - {senderName} {senderEmail} - {' '} {match(recipient.role) .with(RecipientRole.VIEWER, () => includeSenderDetails ? ( + + {senderName} {senderEmail} + {' '} on behalf of "{document.team?.name}" has invited you to view this document ) : ( - has invited you to view this document + + + {senderName} {senderEmail} + {' '} + has invited you to view this document + ), ) .with(RecipientRole.SIGNER, () => includeSenderDetails ? ( + + {senderName} {senderEmail} + {' '} on behalf of "{document.team?.name}" has invited you to sign this document ) : ( - has invited you to sign this document + + + {senderName} {senderEmail} + {' '} + has invited you to sign this document + ), ) .with(RecipientRole.APPROVER, () => includeSenderDetails ? ( + + {senderName} {senderEmail} + {' '} on behalf of "{document.team?.name}" has invited you to approve this document ) : ( - has invited you to approve this document + + + {senderName} {senderEmail} + {' '} + has invited you to approve this document + ), ) .with(RecipientRole.ASSISTANT, () => includeSenderDetails ? ( + + {senderName} {senderEmail} + {' '} on behalf of "{document.team?.name}" has invited you to assist this document ) : ( - has invited you to assist this document + + + {senderName} {senderEmail} + {' '} + has invited you to assist this document + ), ) .otherwise(() => null)}