diff --git a/backend/src/emails/templates/changed_group_member_role/html.pug b/backend/src/emails/templates/changed_group_member_role/html.pug index acb50546d..dfa8a5b55 100644 --- a/backend/src/emails/templates/changed_group_member_role/html.pug +++ b/backend/src/emails/templates/changed_group_member_role/html.pug @@ -3,5 +3,5 @@ extend ../layout.pug block content .content - var groupUrl = groupUrl - p= t('changedGroupMemberRole', { groupName }) - a.button(href=groupUrl)= t('buttons.viewGroup') + p!= t('changedGroupMemberRole', { groupName }) + a.button(href=groupUrl)!= t('buttons.viewGroup') diff --git a/backend/src/emails/templates/changed_group_member_role/subject.pug b/backend/src/emails/templates/changed_group_member_role/subject.pug index 2cd0d345e..044e921d4 100644 --- a/backend/src/emails/templates/changed_group_member_role/subject.pug +++ b/backend/src/emails/templates/changed_group_member_role/subject.pug @@ -1 +1 @@ -= `${APPLICATION_NAME} – ${t('notification')}: ${t('subjects.changedGroupMemberRole')}` \ No newline at end of file +!= `${APPLICATION_NAME} – ${t('notification')}: ${t('subjects.changedGroupMemberRole')}` \ No newline at end of file diff --git a/backend/src/emails/templates/chat_message/html.pug b/backend/src/emails/templates/chat_message/html.pug index d49581d7d..3bccf58c5 100644 --- a/backend/src/emails/templates/chat_message/html.pug +++ b/backend/src/emails/templates/chat_message/html.pug @@ -2,7 +2,7 @@ extend ../layout.pug block content .content - p= t('chatMessageStart') - a.user(href=chattingUserUrl)= chattingUser - = t('chatMessageEnd') - a.button(href=chatUrl)= t('buttons.viewChat') + p!= t('chatMessageStart') + a.user(href=chattingUserUrl)!= chattingUser + != t('chatMessageEnd') + a.button(href=chatUrl)!= t('buttons.viewChat') diff --git a/backend/src/emails/templates/chat_message/subject.pug b/backend/src/emails/templates/chat_message/subject.pug index 73206e2d6..6fde381a2 100644 --- a/backend/src/emails/templates/chat_message/subject.pug +++ b/backend/src/emails/templates/chat_message/subject.pug @@ -1 +1 @@ -= `${APPLICATION_NAME} – ${t('notification')}: ${t('subjects.chatMessage')}` \ No newline at end of file +!= `${APPLICATION_NAME} – ${t('notification')}: ${t('subjects.chatMessage')}` \ No newline at end of file diff --git a/backend/src/emails/templates/commented_on_post/html.pug b/backend/src/emails/templates/commented_on_post/html.pug index b139e0f9d..cc449469e 100644 --- a/backend/src/emails/templates/commented_on_post/html.pug +++ b/backend/src/emails/templates/commented_on_post/html.pug @@ -3,6 +3,6 @@ extend ../layout.pug block content .content p - a.user(href=commenterUrl)= commenterName - = t('commentedOnPost', { postTitle}) - a.button(href=commentUrl)= t('buttons.viewComment') + a.user(href=commenterUrl)!= commenterName + != t('commentedOnPost', { postTitle}) + a.button(href=commentUrl)!= t('buttons.viewComment') diff --git a/backend/src/emails/templates/commented_on_post/subject.pug b/backend/src/emails/templates/commented_on_post/subject.pug index 6a3d4da35..f1684c44d 100644 --- a/backend/src/emails/templates/commented_on_post/subject.pug +++ b/backend/src/emails/templates/commented_on_post/subject.pug @@ -1 +1 @@ -= `${APPLICATION_NAME} – ${t('notification')}: ${t('subjects.commentedOnPost')}` \ No newline at end of file +!= `${APPLICATION_NAME} – ${t('notification')}: ${t('subjects.commentedOnPost')}` \ No newline at end of file diff --git a/backend/src/emails/templates/emailVerification/html.pug b/backend/src/emails/templates/emailVerification/html.pug index 7483106e4..85741fcc0 100644 --- a/backend/src/emails/templates/emailVerification/html.pug +++ b/backend/src/emails/templates/emailVerification/html.pug @@ -2,9 +2,9 @@ extend ../layout.pug block content .content - p= t('emailVerification.introduction') - a.button(href=actionUrl)= t('buttons.verifyEmail') - p= t('emailVerification.doNotChange') + p!= t('emailVerification.introduction') + a.button(href=actionUrl)!= t('buttons.verifyEmail') + p!= t('emailVerification.doNotChange') - p= t('emailVerification.codeHint') - span= nonce + p!= t('emailVerification.codeHint') + span!= nonce diff --git a/backend/src/emails/templates/emailVerification/subject.pug b/backend/src/emails/templates/emailVerification/subject.pug index 5fc98a7b9..342125ae9 100644 --- a/backend/src/emails/templates/emailVerification/subject.pug +++ b/backend/src/emails/templates/emailVerification/subject.pug @@ -1 +1 @@ -= `${t('subjects.newEmail')} ${APPLICATION_NAME}` \ No newline at end of file +!= `${t('subjects.newEmail')} ${APPLICATION_NAME}` \ No newline at end of file diff --git a/backend/src/emails/templates/followed_user_posted/html.pug b/backend/src/emails/templates/followed_user_posted/html.pug index 1b2a0114f..03c17ed3a 100644 --- a/backend/src/emails/templates/followed_user_posted/html.pug +++ b/backend/src/emails/templates/followed_user_posted/html.pug @@ -3,6 +3,6 @@ extend ../layout.pug block content .content p - a.user(href=postAuthorUrl)= postAuthorName - = t('followedUserPosted', { postTitle }) - a.button(href=postUrl)= t('buttons.viewPost') + a.user(href=postAuthorUrl)!= postAuthorName + != t('followedUserPosted', { postTitle }) + a.button(href=postUrl)!= t('buttons.viewPost') diff --git a/backend/src/emails/templates/followed_user_posted/subject.pug b/backend/src/emails/templates/followed_user_posted/subject.pug index 0da84b83c..3292e34db 100644 --- a/backend/src/emails/templates/followed_user_posted/subject.pug +++ b/backend/src/emails/templates/followed_user_posted/subject.pug @@ -1 +1 @@ -= `${APPLICATION_NAME} – ${t('notification')}: ${t('subjects.followedUserPosted')}` \ No newline at end of file +!= `${APPLICATION_NAME} – ${t('notification')}: ${t('subjects.followedUserPosted')}` \ No newline at end of file diff --git a/backend/src/emails/templates/includes/footer.pug b/backend/src/emails/templates/includes/footer.pug index a8deeac84..f6872b4a1 100644 --- a/backend/src/emails/templates/includes/footer.pug +++ b/backend/src/emails/templates/includes/footer.pug @@ -2,4 +2,4 @@ footer .footer - var organizationUrl = ORGANIZATION_URL - var organizationName = ORGANIZATION_NAME - a(href=organizationUrl)= organizationName \ No newline at end of file + a(href=organizationUrl)!= organizationName \ No newline at end of file diff --git a/backend/src/emails/templates/includes/greeting.pug b/backend/src/emails/templates/includes/greeting.pug index ea4022fcf..d7500c57a 100644 --- a/backend/src/emails/templates/includes/greeting.pug +++ b/backend/src/emails/templates/includes/greeting.pug @@ -4,14 +4,14 @@ - var team = APPLICATION_NAME - var settingsUrl = settingsUrl - var renderSettingsUrl = renderSettingsUrl - p.no-margin-top-bottom= t('general.seeYou') - a.organization(href=organizationUrl)= team + p.no-margin-top-bottom!= t('general.seeYou') + a.organization(href=organizationUrl)!= team | ! - p.no-margin-top-bottom= t('general.yourTeam', { team }) + p.no-margin-top-bottom!= t('general.yourTeam', { team }) if renderSettingsUrl br - p.no-margin-top-bottom= t('general.settingsHint') - a.settings(href=settingsUrl)= t('general.settingsName') + p.no-margin-top-bottom!= t('general.settingsHint') + a.settings(href=settingsUrl)!= t('general.settingsName') | ! diff --git a/backend/src/emails/templates/includes/salutation.pug b/backend/src/emails/templates/includes/salutation.pug index faca3bb64..777c0e29b 100644 --- a/backend/src/emails/templates/includes/salutation.pug +++ b/backend/src/emails/templates/includes/salutation.pug @@ -1 +1 @@ -h2= `${t('general.greeting')} ${name},` +h2!= `${t('general.greeting')} ${name},` diff --git a/backend/src/emails/templates/includes/support.pug b/backend/src/emails/templates/includes/support.pug index 6e59baf2f..b09245a08 100644 --- a/backend/src/emails/templates/includes/support.pug +++ b/backend/src/emails/templates/includes/support.pug @@ -1,2 +1,2 @@ -p.no-margin-top-bottom= t('support') - a(href='mailto:' + supportEmail)= supportEmail \ No newline at end of file +p.no-margin-top-bottom!= t('support') + a(href='mailto:' + supportEmail)!= supportEmail \ No newline at end of file diff --git a/backend/src/emails/templates/includes/welcome.pug b/backend/src/emails/templates/includes/welcome.pug index f4ec6f8bd..e096e188a 100644 --- a/backend/src/emails/templates/includes/welcome.pug +++ b/backend/src/emails/templates/includes/welcome.pug @@ -1 +1 @@ -h2= `${t('general.welcome')} ${APPLICATION_NAME}!` \ No newline at end of file +h2!= `${t('general.welcome')} ${APPLICATION_NAME}!` \ No newline at end of file diff --git a/backend/src/emails/templates/mentioned_in_comment/html.pug b/backend/src/emails/templates/mentioned_in_comment/html.pug index a7b9be1de..ea2b19091 100644 --- a/backend/src/emails/templates/mentioned_in_comment/html.pug +++ b/backend/src/emails/templates/mentioned_in_comment/html.pug @@ -3,6 +3,6 @@ extend ../layout.pug block content .content p - a.user(href=commenterUrl)= commenterName - = t('mentionedInComment', { postTitle}) - a.button(href=commentUrl)= t('buttons.viewComment') + a.user(href=commenterUrl)!= commenterName + != t('mentionedInComment', { postTitle}) + a.button(href=commentUrl)!= t('buttons.viewComment') diff --git a/backend/src/emails/templates/mentioned_in_comment/subject.pug b/backend/src/emails/templates/mentioned_in_comment/subject.pug index 70d094e59..d7373068f 100644 --- a/backend/src/emails/templates/mentioned_in_comment/subject.pug +++ b/backend/src/emails/templates/mentioned_in_comment/subject.pug @@ -1 +1 @@ -= `${APPLICATION_NAME} – ${t('notification')}: ${t('subjects.mentionedInComment')}` \ No newline at end of file +!= `${APPLICATION_NAME} – ${t('notification')}: ${t('subjects.mentionedInComment')}` \ No newline at end of file diff --git a/backend/src/emails/templates/mentioned_in_post/html.pug b/backend/src/emails/templates/mentioned_in_post/html.pug index 5a31c7258..f42e6d0cc 100644 --- a/backend/src/emails/templates/mentioned_in_post/html.pug +++ b/backend/src/emails/templates/mentioned_in_post/html.pug @@ -3,6 +3,6 @@ extend ../layout.pug block content .content p - a.user(href=postAuthorUrl)= postAuthorName - = t('mentionedInPost', { postTitle }) - a.button(href=postUrl)= t('buttons.viewPost') + a.user(href=postAuthorUrl)!= postAuthorName + != t('mentionedInPost', { postTitle }) + a.button(href=postUrl)!= t('buttons.viewPost') diff --git a/backend/src/emails/templates/mentioned_in_post/subject.pug b/backend/src/emails/templates/mentioned_in_post/subject.pug index c318630a3..440b6fb87 100644 --- a/backend/src/emails/templates/mentioned_in_post/subject.pug +++ b/backend/src/emails/templates/mentioned_in_post/subject.pug @@ -1 +1 @@ -= `${APPLICATION_NAME} – ${t('notification')}: ${t('subjects.mentionedInPost')}` \ No newline at end of file +!= `${APPLICATION_NAME} – ${t('notification')}: ${t('subjects.mentionedInPost')}` \ No newline at end of file diff --git a/backend/src/emails/templates/post_in_group/html.pug b/backend/src/emails/templates/post_in_group/html.pug index bc69ed2e9..e1f3490d1 100644 --- a/backend/src/emails/templates/post_in_group/html.pug +++ b/backend/src/emails/templates/post_in_group/html.pug @@ -3,5 +3,5 @@ extend ../layout.pug block content .content - var postUrl = postUrl - p= t('postInGroup', { postTitle}) - a.button(href=postUrl)= t('buttons.viewPost') + p!= t('postInGroup', { postTitle}) + a.button(href=postUrl)!= t('buttons.viewPost') diff --git a/backend/src/emails/templates/post_in_group/subject.pug b/backend/src/emails/templates/post_in_group/subject.pug index 1f989190d..c300c853c 100644 --- a/backend/src/emails/templates/post_in_group/subject.pug +++ b/backend/src/emails/templates/post_in_group/subject.pug @@ -1 +1 @@ -= `${APPLICATION_NAME} – ${t('notification')}: ${t('subjects.postInGroup')}` \ No newline at end of file +!= `${APPLICATION_NAME} – ${t('notification')}: ${t('subjects.postInGroup')}` \ No newline at end of file diff --git a/backend/src/emails/templates/registration/html.pug b/backend/src/emails/templates/registration/html.pug index b50aaca31..dcc6c8a62 100644 --- a/backend/src/emails/templates/registration/html.pug +++ b/backend/src/emails/templates/registration/html.pug @@ -2,14 +2,14 @@ extend ../layout.pug block content .content - p= t('registration.introduction') - a.button(href=actionUrl)= t('buttons.confirmEmail') - p= t('registration.codeHint') - span= nonce - p= t('registration.codeHintException') + p!= t('registration.introduction') + a.button(href=actionUrl)!= t('buttons.confirmEmail') + p!= t('registration.codeHint') + span!= nonce + p!= t('registration.codeHintException') - p= t('registration.notYouStart') - a(href=ORGANIZATION_LINK)= APPLICATION_NAME - = t('registration.notYouEnd') + p!= t('registration.notYouStart') + a(href=ORGANIZATION_LINK)!= APPLICATION_NAME + != t('registration.notYouEnd') - p= t('registration.ps') \ No newline at end of file + p!= t('registration.ps') \ No newline at end of file diff --git a/backend/src/emails/templates/registration/subject.pug b/backend/src/emails/templates/registration/subject.pug index 7e9dbec7f..4ccc9abf1 100644 --- a/backend/src/emails/templates/registration/subject.pug +++ b/backend/src/emails/templates/registration/subject.pug @@ -1 +1 @@ -= `${t('general.welcome')} ${APPLICATION_NAME}` \ No newline at end of file +!= `${t('general.welcome')} ${APPLICATION_NAME}` \ No newline at end of file diff --git a/backend/src/emails/templates/removed_user_from_group/html.pug b/backend/src/emails/templates/removed_user_from_group/html.pug index cb991540e..1dfc302df 100644 --- a/backend/src/emails/templates/removed_user_from_group/html.pug +++ b/backend/src/emails/templates/removed_user_from_group/html.pug @@ -2,4 +2,4 @@ extend ../layout.pug block content .content - p= t('removedUserFromGroup', { groupName }) + p!= t('removedUserFromGroup', { groupName }) diff --git a/backend/src/emails/templates/resetPassword/html.pug b/backend/src/emails/templates/resetPassword/html.pug index f10ee01c2..349708c39 100644 --- a/backend/src/emails/templates/resetPassword/html.pug +++ b/backend/src/emails/templates/resetPassword/html.pug @@ -2,8 +2,8 @@ extend ../layout.pug block content .content - p= t('resetPassword.introduction') - a.button(href=actionUrl)= t('buttons.confirmEmail') - p= t('resetPassword.ignore') - p= t('resetPassword.codeHint') - span= nonce + p!= t('resetPassword.introduction') + a.button(href=actionUrl)!= t('buttons.confirmEmail') + p!= t('resetPassword.ignore') + p!= t('resetPassword.codeHint') + span!= nonce diff --git a/backend/src/emails/templates/resetPassword/subject.pug b/backend/src/emails/templates/resetPassword/subject.pug index 047af2052..e1d2fb338 100644 --- a/backend/src/emails/templates/resetPassword/subject.pug +++ b/backend/src/emails/templates/resetPassword/subject.pug @@ -1 +1 @@ -= `${t('subjects.resetPassword')} ${APPLICATION_NAME}` \ No newline at end of file +!= `${t('subjects.resetPassword')} ${APPLICATION_NAME}` \ No newline at end of file diff --git a/backend/src/emails/templates/user_joined_group/html.pug b/backend/src/emails/templates/user_joined_group/html.pug index 00bc116a8..f2d1ccca0 100644 --- a/backend/src/emails/templates/user_joined_group/html.pug +++ b/backend/src/emails/templates/user_joined_group/html.pug @@ -3,6 +3,6 @@ extend ../layout.pug block content .content p - a.user(href=groupRelatedUserUrl)= groupRelatedUserName - = t('userJoinedGroup', { groupName }) - a.button(href=groupUrl)= t('buttons.viewGroup') + a.user(href=groupRelatedUserUrl)!= groupRelatedUserName + != t('userJoinedGroup', { groupName }) + a.button(href=groupUrl)!= t('buttons.viewGroup') diff --git a/backend/src/emails/templates/user_joined_group/subject.pug b/backend/src/emails/templates/user_joined_group/subject.pug index 4e2cae4a1..c74d115f3 100644 --- a/backend/src/emails/templates/user_joined_group/subject.pug +++ b/backend/src/emails/templates/user_joined_group/subject.pug @@ -1 +1 @@ -= `${APPLICATION_NAME} – ${t('notification')}: ${t('subjects.userJoinedGroup')}` \ No newline at end of file +!= `${APPLICATION_NAME} – ${t('notification')}: ${t('subjects.userJoinedGroup')}` \ No newline at end of file diff --git a/backend/src/emails/templates/user_left_group/html.pug b/backend/src/emails/templates/user_left_group/html.pug index 73374e464..31a4794ad 100644 --- a/backend/src/emails/templates/user_left_group/html.pug +++ b/backend/src/emails/templates/user_left_group/html.pug @@ -3,6 +3,6 @@ extend ../layout.pug block content .content p - a.user(href=groupRelatedUserUrl)= groupRelatedUserName - = t('userLeftGroup', { groupName }) - a.button(href=groupUrl)= t('buttons.viewGroup') + a.user(href=groupRelatedUserUrl)!= groupRelatedUserName + != t('userLeftGroup', { groupName }) + a.button(href=groupUrl)!= t('buttons.viewGroup') diff --git a/backend/src/emails/templates/user_left_group/subject.pug b/backend/src/emails/templates/user_left_group/subject.pug index 52aa6f1a6..15600fac7 100644 --- a/backend/src/emails/templates/user_left_group/subject.pug +++ b/backend/src/emails/templates/user_left_group/subject.pug @@ -1 +1 @@ -= `${APPLICATION_NAME} – ${t('notification')}: ${t('subjects.userLeftGroup')}` \ No newline at end of file +!= `${APPLICATION_NAME} – ${t('notification')}: ${t('subjects.userLeftGroup')}` \ No newline at end of file diff --git a/backend/src/emails/templates/wrongEmail/html.pug b/backend/src/emails/templates/wrongEmail/html.pug index 79f97833f..27e57dff5 100644 --- a/backend/src/emails/templates/wrongEmail/html.pug +++ b/backend/src/emails/templates/wrongEmail/html.pug @@ -2,9 +2,9 @@ extend ../layout.pug block content .content - p= t('wrongEmail.introduction') - a.button(href=actionUrl)= t('buttons.tryAgain') + p!= t('wrongEmail.introduction') + a.button(href=actionUrl)!= t('buttons.tryAgain') - p= t('wrongEmail.ignoreStart') - a(href=ORGANIZATION_LINK)= APPLICATION_NAME - = t('wrongEmail.ignoreEnd') + p!= t('wrongEmail.ignoreStart') + a(href=ORGANIZATION_LINK)!= APPLICATION_NAME + != t('wrongEmail.ignoreEnd') diff --git a/backend/src/emails/templates/wrongEmail/subject.pug b/backend/src/emails/templates/wrongEmail/subject.pug index b6bc2d01c..65b38df8e 100644 --- a/backend/src/emails/templates/wrongEmail/subject.pug +++ b/backend/src/emails/templates/wrongEmail/subject.pug @@ -1 +1 @@ -= `${t('subjects.wrongEmail')} ${APPLICATION_NAME}` \ No newline at end of file +!= `${t('subjects.wrongEmail')} ${APPLICATION_NAME}` \ No newline at end of file