Merge pull request #13462 from greenpeace-cee/alter-indexes
[civicrm-core.git] / templates / CRM / Contribute / Form / UpdateSubscription.tpl
1 {*
2 +--------------------------------------------------------------------+
3 | CiviCRM version 5 |
4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC (c) 2004-2019 |
6 +--------------------------------------------------------------------+
7 | This file is a part of CiviCRM. |
8 | |
9 | CiviCRM is free software; you can copy, modify, and distribute it |
10 | under the terms of the GNU Affero General Public License |
11 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
12 | |
13 | CiviCRM is distributed in the hope that it will be useful, but |
14 | WITHOUT ANY WARRANTY; without even the implied warranty of |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
16 | See the GNU Affero General Public License for more details. |
17 | |
18 | You should have received a copy of the GNU Affero General Public |
19 | License and the CiviCRM Licensing Exception along |
20 | with this program; if not, contact CiviCRM LLC |
21 | at info[AT]civicrm[DOT]org. If you have questions about the |
22 | GNU Affero General Public License or the licensing of CiviCRM, |
23 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
24 +--------------------------------------------------------------------+
25 *}
26 <div class="crm-block crm-form-block crm-recurcontrib-form-block">
27 {if $changeHelpText}
28 <div class="help">
29 {$changeHelpText}
30 {if $recurMembership}
31 <br/><strong> {ts}WARNING: This recurring contribution is linked to membership:{/ts}
32 <a class="crm-hover-button" href='{crmURL p="civicrm/contact/view/membership" q="action=view&reset=1&cid=`$contactId`&id=`$recurMembership.membership_id`&context=membership&selectedChild=member"}'>{$recurMembership.membership_name}</a>
33 </strong>
34 {/if}
35 </div>
36 {/if}
37 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div>
38 <table class="form-layout">
39 <tr>
40 <td class="label">{$form.amount.label}</td>
41 <td>{$form.currency.html|crmAddClass:eight}&nbsp;{$form.amount.html|crmAddClass:eight} ({ts}every{/ts} {$frequency_interval} {$frequency_unit})</td>
42 </tr>
43 <tr><td class="label">{$form.installments.label}</td><td>{$form.installments.html}<br />
44 <span class="description">{ts}Total number of payments to be made. Set this to 0 if this is an open-ended commitment i.e. no set end date.{/ts}</span></td></tr>
45 {foreach from=$editableScheduleFields item='field'}
46 <tr><td class="label">{$form.$field.label}</td><td>{$form.$field.html}</td></tr>
47 {/foreach}
48 {if !$self_service}
49 <tr><td class="label">{$form.is_notify.label}</td><td>{$form.is_notify.html}</td></tr>
50 <tr><td class="label">{$form.campaign_id.label}</td><td>{$form.campaign_id.html}</td></tr>
51 <tr><td class="label">{$form.financial_type_id.label}</td><td>{$form.financial_type_id.html}</td></tr>
52 {/if}
53 </table>
54
55 {include file="CRM/common/customDataBlock.tpl"}
56
57 <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div>
58 </div>