From 1550098802a9326dd5ad8eb291a0b93e51705538 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Tue, 6 Jan 2015 12:27:55 -0500 Subject: [PATCH] dashboard: Improve rendering of installments for recurring contributions. * templates/CRM/Memberdashboard/Page/Element/CiviContribute.tpl: Render an infinity symbol for contributions with unlimited installments. --- .../Page/Element/CiviContribute.tpl | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/templates/CRM/Memberdashboard/Page/Element/CiviContribute.tpl b/templates/CRM/Memberdashboard/Page/Element/CiviContribute.tpl index f59c981..bc01d5d 100644 --- a/templates/CRM/Memberdashboard/Page/Element/CiviContribute.tpl +++ b/templates/CRM/Memberdashboard/Page/Element/CiviContribute.tpl @@ -106,8 +106,19 @@ every {$recurRows.$id.frequency_interval} {$recurRows.$id.frequency_unit} for {$recurRows.$id.installments} installments {$recurRows.$id.recur_status} - {if $recurRows.$id.completed}{$recurRows.$id.completed}/{$recurRows.$id.installments} - {else}0/{$recurRows.$id.installments} {/if} + + {if $recurRows.$id.completed} + {$recurRows.$id.completed} + {else} + 0 + {/if} + / + {if $recurRows.$id.installments} + {$recurRows.$id.installments} + {else} + ∞ + {/if} + {$recurRows.$id.create_date|crmDate}