Additional email greetings in message templates
[civicrm-core.git] / xml / templates / message_templates / contribution_recurring_billing_html.tpl
index f2b9d48842391578f8bc0d227c5260e4755200a3..14df6973eb56b45324bde4f1b4b651142e0bd001 100644 (file)
@@ -21,7 +21,7 @@
 
   <tr>
    <td>
-    <p>{ts 1=$contact.display_name}Dear %1{/ts},</p>
+    {assign var="greeting" value="{contact.email_greeting}"}{if $greeting}<p>{$greeting},</p>{/if}
     <p>{ts 1=$amount 2=$recur_frequency_interval 3=$recur_frequency_unit}Billing details for your recurring contribution of %1, every %2 %3 have been updated.{/ts}</p>
    </td>
   </tr>
@@ -62,4 +62,4 @@
 </center>
 
 </body>
-</html>
\ No newline at end of file
+</html>