Additional email greetings in message templates
[civicrm-core.git] / xml / templates / message_templates / contribution_recurring_notify_html.tpl
index e2b09248355aa69116e67dbdc40b35f7aa013181..201a5596f39849e251226b1171814b1bfc4bf83e 100644 (file)
@@ -21,7 +21,7 @@
 
   <tr>
    <td>
-    <p>{ts 1=$displayName}Dear %1{/ts},</p>
+    {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}<p>{$greeting},</p>{/if}
    </td>
   </tr>