CRM-15258 - Also fixes CRM-15257. Includes new msg tpl versions and handles upgrades...
[civicrm-core.git] / xml / templates / message_templates / contribution_recurring_notify_html.tpl
index 3a6b18bac14f896d3823db2ab2afb8c02481e513..f7b6387c81370242dbf3a0f45564bed8fe0ebe07 100644 (file)
@@ -51,7 +51,7 @@
       <tr>
        <td>
         <p>{ts}Thanks for your recurring contribution sign-up.{/ts}</p>
-        <p>{ts 1=$recur_frequency_interval 2=$recur_frequency_unit 3=$recur_installments}This recurring contribution will be automatically processed every %1 %2(s) for a total of %3 installment(s).{/ts}</p>
+        <p>{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This recurring contribution will be automatically processed every %1 %2(s){/ts}{if $recur_installments }{ts 1=$recur_installments} for a total of %1 installment(s){/ts}{/if}.</p>
         <p>{ts}Start Date{/ts}: {$recur_start_date|crmDate}</p>
        </td>
       </tr>