Survey: Fix typos in survey emails
@@ -68,11 +68,11 @@ function controller($document,
+ $state.href('main.survey.instance.user'));
const newLine = '%0D%0A';
- const surveyEmailBody = `You have been invited to participate to the following survey. ${newLine}${newLine}`
+ const surveyEmailBody = `You have been invited to participate in the following survey. ${newLine}${newLine}`
+ `Name: ${surveyRun.name} ${newLine}${newLine}`
+ `Description: ${surveyRun.description} ${newLine}${newLine}`
+ `${newLine}${newLine}`
- + `Please use this URL to find and respond to that survey: ${surveyLink} ${newLine}${newLine}`;
+ + `Please use this URL to find and respond to this survey: ${surveyLink} ${newLine}${newLine}`;
vm.surveyEmailHref = `mailto:${surveyEmailRecipients}?subject=${surveyEmailSubject}&body=${surveyEmailBody}`;
};
