Additional email greetings in message templates
[civicrm-core.git] / xml / templates / message_templates / participant_expired_text.tpl
index be649c11daee52728357834f9184b820c98e9b20..56acebfb5f141ba1190ceee584020eced1c46bb2 100644 (file)
@@ -1,4 +1,4 @@
-{ts 1=$contact.display_name}Dear %1{/ts},
+{assign var="greeting" value="{contact.email_greeting}"}{if $greeting}{$greeting},{/if}
 
 {ts 1=$event.event_title}Your pending event registration for %1 has expired
 because you did not confirm your registration.{/ts}