Merge pull request #15563 from civicrm/5.19
[civicrm-core.git] / xml / templates / message_templates / petition_sign_html.tpl
index fa34f6fe3e14d45263d8f842a5abc11fe34400bc..386527c9b668dbf58aca4cfb947887400a72780b 100644 (file)
@@ -1,3 +1,5 @@
+{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}<p>{$greeting},</p>{/if}
+
 <p>Thank you for signing {$petition.title}.</p>
 
-{include file="CRM/Campaign/Page/Petition/SocialNetwork.tpl" petition_id=$survey_id noscript=true email=true}
+{include file="CRM/Campaign/Page/Petition/SocialNetwork.tpl" petition_id=$survey_id noscript=true emailMode=true}