Blog Post
Hi, I need some clarity on the 1st new feature "Mute All Notifications" mentioned in the release notes above. It is mentioned above that the code in the red colour has to be added in the specific locations of the text and HTML versions of the General Subscription Notification email template. But the place where this code is supposed to be added doesn't exist in the General Subscription Notification email template in my studio for text and HTML version both. Note that the environment I'm trying to do this is running on 19.4 version. For example, I'm putting the whole text version which is coming in the template in my studio. You can see that the code mentioned above for text version (apart from the code in red) does not exist below. Can somebody explain to me why it is like that?
${mailActions.nativeReplyDemarcationText}
Hi ${notification.recipient.login},
#set ( $eventUser = "")
#set ( $eventUserRanking = "")
#set ( $eventText = "")
#set ( $eventDetails = "")
#if($notification.message.editRequestSave)
#set ( $eventDetails = "and has requested a review")
#elseif($notification.message.publishRequestSave)
#set ( $eventDetails = "and has requested it to be published")
#end
#if ($notification.newlyVisible || !$notification.message.edited)
#set ( $eventUser = "${notification.message.author.login}")
#set ( $eventUserRanking = "${notification.message.author.ranking.name}")
#if ($notification.moved)
#if ($notification.merged)
#set ($eventText = "merged a")
#else
#set ($eventText = "moved a")
#end
#else
#set ( $eventText = "posted a new")
#end
#else
#set ( $eventUser = "${notification.message.lastEditUser.login}")
#set ( $eventUserRanking = "${notification.message.lastEditUser.ranking.name}")
#if ("${notification.message.board.discussionStyle}" == "tkb")
#set ( $eventText = "edited an")
#else
#set ( $eventText = "edited a")
#end
#end
${eventUser} (${eventUserRanking}) ${eventText} ${notification.message.localizedObjectType} in ${notification.message.board.title} on ${notification.formattedDateForMessageEdit} in the ${community.title} ${eventDetails}:
#if (${notification.emailContentFormat.name} == "subject_and_body")
${notification.message.webUi.url}
Subject: #if ($notification.message.subject) ${tools.unescapeHtml($notification.message.subject)}#else ${notification.message.subject}
#end
${notification.plainTextBody}
#if (${notification.displayPlainTextSignature})
${notification.authorPlainTextSignature}
#end
#if ($mailActions.canReplyByEmail)
You can respond to the ${notification.message.localizedObjectType} at the following URL:
${mailActions.replyByEmailUrl}
#end
#if ($mailActions.canMarkAsSolution)
You can accept the solution to the ${notification.message.localizedObjectType} at the following URL:
${mailActions.markAsSolutionUrl}
#end
#if ($mailActions.canGiveKudos)
You can give kudos to the ${notification.message.localizedObjectType} at the following URL:
${mailActions.giveKudosUrl}
#end
#else
Subject: #if ($notification.message.subject) ${tools.unescapeHtml($notification.message.subject)}#else ${notification.message.subject}
#end
You can view the body of the ${notification.message.localizedObjectType} at the following URL:
${notification.message.webUi.url}
#end
====================================================================================
${footerReason}
To control which emails we send you, manage your subscriptions and notifications here:
${notification.recipient.subscriptionsPageUrl}
or unsubscribe here: ${emailUrls.getTapestryUrl("/user/RemoveUserEmailPage/user-id/$user.id/mail-message-tracking/$trackingKey")}