diff --git a/templates/CRM/Contribute/Page/ContributionRecur.tpl b/templates/CRM/Contribute/Page/ContributionRecur.tpl index 6f8371aee9fa..8ab1adf20a95 100644 --- a/templates/CRM/Contribute/Page/ContributionRecur.tpl +++ b/templates/CRM/Contribute/Page/ContributionRecur.tpl @@ -94,28 +94,5 @@
{/if} {if $recurRows} - {strip} - - - - - - - - - - - {foreach from=$recurRows item=row} - {assign var=id value=$row.id} - - - - - - - - - {/foreach} -
{ts}Amount{/ts}{ts}Frequency{/ts}{ts}Start Date{/ts}{ts}Installments{/ts}{ts}Status{/ts}
{$row.amount|crmMoney:$row.currency}{if $row.is_test} ({ts}test{/ts}){/if}{ts}Every{/ts} {$row.frequency_interval} {$row.frequency_unit} {$row.start_date|crmDate}{$row.installments}{$row.contribution_status}{$row.action|replace:'xx':$row.recurId}
- {/strip} + {include file="CRM/Contribute/Page/ContributionRecurSelector.tpl"} {/if} diff --git a/templates/CRM/Contribute/Page/ContributionRecurSelector.tpl b/templates/CRM/Contribute/Page/ContributionRecurSelector.tpl new file mode 100644 index 000000000000..65f6882f53c5 --- /dev/null +++ b/templates/CRM/Contribute/Page/ContributionRecurSelector.tpl @@ -0,0 +1,49 @@ +{* + +--------------------------------------------------------------------+ + | CiviCRM version 5 | + +--------------------------------------------------------------------+ + | Copyright CiviCRM LLC (c) 2004-2018 | + +--------------------------------------------------------------------+ + | This file is a part of CiviCRM. | + | | + | CiviCRM is free software; you can copy, modify, and distribute it | + | under the terms of the GNU Affero General Public License | + | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | + | | + | CiviCRM is distributed in the hope that it will be useful, but | + | WITHOUT ANY WARRANTY; without even the implied warranty of | + | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | + | See the GNU Affero General Public License for more details. | + | | + | You should have received a copy of the GNU Affero General Public | + | License and the CiviCRM Licensing Exception along | + | with this program; if not, contact CiviCRM LLC | + | at info[AT]civicrm[DOT]org. If you have questions about the | + | GNU Affero General Public License or the licensing of CiviCRM, | + | see the CiviCRM license FAQ at http://civicrm.org/licensing | + +--------------------------------------------------------------------+ +*} +{strip} + + + + + + + + + + + {foreach from=$recurRows item=row} + {assign var=id value=$row.id} + + + + + + + + + {/foreach} +
{ts}Amount{/ts}{ts}Frequency{/ts}{ts}Start Date{/ts}{ts}Installments{/ts}{ts}Status{/ts}
{$row.amount|crmMoney:$row.currency}{if $row.is_test} ({ts}test{/ts}){/if}{ts}Every{/ts} {$row.frequency_interval} {$row.frequency_unit} {$row.start_date|crmDate}{$row.installments}{$row.contribution_status}{$row.action|replace:'xx':$row.recurId}
+{/strip}