X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=templates%2FCRM%2FContribute%2FForm%2FContributionView.tpl;h=4ebef343e7e2cc4c467f2eef937242cf24ec69d5;hb=685dc43355ed3125952a99f39aeb8f49cde5d7d3;hp=175fd5b4ba9b9402a7bc0a5e59bce74d12b4d345;hpb=ae3a9643e62f1fd7ffa7874116dfb1548bbbf486;p=civicrm-core.git diff --git a/templates/CRM/Contribute/Form/ContributionView.tpl b/templates/CRM/Contribute/Form/ContributionView.tpl index 175fd5b4ba..4ebef343e7 100644 --- a/templates/CRM/Contribute/Form/ContributionView.tpl +++ b/templates/CRM/Contribute/Form/ContributionView.tpl @@ -35,6 +35,9 @@ {ts}Edit{/ts} + {if $paymentButtonName} + {ts}{$paymentButtonName}{/ts} + {/if} {/if} {if (call_user_func(array('CRM_Core_Permission','check'), 'delete in CiviContribute') && call_user_func(array('CRM_Core_Permission', 'check'), "delete contributions of type $financial_type") && $canDelete) || (call_user_func(array('CRM_Core_Permission','check'), 'delete in CiviContribute') && $noACL)} {assign var='urlParams' value="reset=1&id=$id&cid=$contact_id&action=delete&context=$context"} @@ -227,7 +230,7 @@ {$thankyou_date|crmDate} {/if} - {if $participantId and $hasPayment} + {if $addRecordPayment} {ts}Fees{/ts} @@ -328,8 +331,8 @@ {/if} -{if $participantId and $hasPayment} - {include file="CRM/Contribute/Page/PaymentInfo.tpl" show='event-payment'} +{if $addRecordPayment} + {include file="CRM/Contribute/Page/PaymentInfo.tpl" show='payments'} {/if}
@@ -340,6 +343,9 @@ {assign var='urlParams' value="reset=1&id=$id&cid=$contact_id&action=update&context=$context&key=$searchKey"} {/if} {ts}Edit{/ts} + {if $paymentButtonName} + {ts}{$paymentButtonName}{/ts} + {/if} {/if} {if (call_user_func(array('CRM_Core_Permission','check'), 'delete in CiviContribute') && call_user_func(array('CRM_Core_Permission', 'check'), "delete contributions of type $financial_type") && $canDelete) || (call_user_func(array('CRM_Core_Permission','check'), 'delete in CiviContribute') && $noACL)} {assign var='urlParams' value="reset=1&id=$id&cid=$contact_id&action=delete&context=$context"}