From: David Thompson Date: Tue, 6 Jan 2015 17:27:55 +0000 (-0500) Subject: dashboard: Improve rendering of installments for recurring contributions. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1550098802a9326dd5ad8eb291a0b93e51705538;p=org.fsf.memberdashboard.git dashboard: Improve rendering of installments for recurring contributions. * templates/CRM/Memberdashboard/Page/Element/CiviContribute.tpl: Render an infinity symbol for contributions with unlimited installments. --- 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}