Commit a4393c8a authored by mattwire's avatar mattwire
Browse files

Only show one button on event repetition

parent 0787ece8
......@@ -178,13 +178,9 @@ class CRM_AdvancedEvents_Form_RecurringEntity {
$form->addButtons([
[
'type' => 'submit',
'name' => ts('Save'),
'name' => ts('Create'),
'isDefault' => TRUE,
],
[
'type' => 'cancel',
'name' => ts('Cancel'),
],
]
);
// For client-side pluralization
......
{* http://civicrm.org/licensing *}
{* https://civicrm.org/licensing *}
{capture assign='entityType'}{$params.entityType|lower}{/capture}
......
{* http://civicrm.org/licensing *}
{* https://civicrm.org/licensing *}
<div class="crm-core-form-recurringentity-block crm-accordion-wrapper{if $recurringFormIsEmbedded && !$scheduleReminderId} collapsed{/if}" id="recurring-entity-block">
<div class="crm-accordion-header">
{ts 1=$recurringEntityType}Repeat %1{/ts}
</div>
<div class="crm-accordion-body">
{if !$recurringFormIsEmbedded}
<div class="crm-submit-buttons">
{include file="CRM/common/formButtons.tpl" location="top"}
</div>
{/if}
<table class="form-layout-compressed">
<tr class="crm-core-form-recurringentity-block-repetition_frequency">
<td class="label">{$form.repetition_frequency_unit.label}&nbsp;<span class="crm-marker">*</span> {help id="id-repeats" entityType=$recurringEntityType file="CRM/Core/Form/RecurringEntity.hlp"}</td>
......
{*
+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2019 |
+--------------------------------------------------------------------+
| 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 |
+--------------------------------------------------------------------+
*}
{* https://civicrm.org/licensing *}
{* No matches for submitted search request. *}
<div class="messages status no-popup">
<div class="icon inform-icon"></div> &nbsp;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment