Skip to content

Commit f6f7c6c

Browse files
refactor: change in subject & body of resend mail
1 parent 348f781 commit f6f7c6c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

apps/OpenSign/src/primitives/GetReportDisplay.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -535,10 +535,10 @@ const ReportTable = (props) => {
535535

536536
const subject =
537537
doc?.RequestSubject ||
538-
"{{sender_name}} has requested you to sign {{document_title}}";
538+
`{{sender_name}} has requested you to sign "{{document_title}}"`;
539539
const body =
540540
doc?.RequestBody ||
541-
"<html><head><meta http-equiv='Content-Type' content='text/html; charset=UTF-8' /></head><body><p>Hi {{receiver_name}},</p><br><p>We hope this email finds you well. {{sender_name}}&nbsp;has requested you to review and sign&nbsp;{{document_title}}.</p><p>Your signature is crucial to proceed with the next steps as it signifies your agreement and authorization.</p><br><p>{{signing_url}}</p><br><p>If you have any questions or need further clarification regarding the document or the signing process, please contact the sender.</p><br><p>Thanks</p><p> Team OpenSign™</p><br></body> </html>";
541+
`<html><head><meta http-equiv='Content-Type' content='text/html; charset=UTF-8' /></head><body><p>Hi {{receiver_name}},</p><br><p>We hope this email finds you well. {{sender_name}}&nbsp;has requested you to review and sign&nbsp;<b>"{{document_title}}"</b>.</p><p>Your signature is crucial to proceed with the next steps as it signifies your agreement and authorization.</p><br><p>{{signing_url}}</p><br><p>If you have any questions or need further clarification regarding the document or the signing process, please contact the sender.</p><br><p>Thanks</p><p> Team OpenSign™</p><br></body> </html>`;
542542
const res = replaceMailVaribles(subject, body, variables);
543543
setMail((prev) => ({ ...prev, subject: res.subject, body: res.body }));
544544
setIsNextStep({ [user.objectId]: true });
@@ -959,7 +959,7 @@ const ReportTable = (props) => {
959959
<Tooltip
960960
id={isNextStep[user.objectId]}
961961
message={
962-
"You can use following variables which are get replace with their actual values :- {{document_title}}, {{sender_name}}, {{sender_mail}}, {{sender_phone}}, {{receiver_name}}, {{receiver_email}}, {{receiver_phone}}, {{expiry_date}}, {{company_name}}, {{signing_url}}."
962+
"You can use following variables which will get replaced with their actual values:- {{document_title}}, {{sender_name}}, {{sender_mail}}, {{sender_phone}}, {{receiver_name}}, {{receiver_email}}, {{receiver_phone}}, {{expiry_date}}, {{company_name}}, {{signing_url}}."
963963
}
964964
/>
965965
</label>
@@ -985,7 +985,7 @@ const ReportTable = (props) => {
985985
<Tooltip
986986
id={isNextStep[user.objectId]}
987987
message={
988-
"You can use following variables which are get replace with their actual values :- {{document_title}}, {{sender_name}}, {{sender_mail}}, {{sender_phone}}, {{receiver_name}}, {{receiver_email}}, {{receiver_phone}}, {{expiry_date}}, {{company_name}}, {{signing_url}}."
988+
"You can use following variables which will get replaced with their actual values:- {{document_title}}, {{sender_name}}, {{sender_mail}}, {{sender_phone}}, {{receiver_name}}, {{receiver_email}}, {{receiver_phone}}, {{expiry_date}}, {{company_name}}, {{signing_url}}."
989989
}
990990
/>
991991
</label>

0 commit comments

Comments
 (0)