Skip to content

Commit

Permalink
Merge pull request civicrm#11277 from mihaelmladenov/NDI-14-cancel-ev…
Browse files Browse the repository at this point in the history
…ent-participants

CRM-21426: Removed duplicate submit buttons on Cancel/Delete Event Participants
  • Loading branch information
colemanw authored and sluc23 committed Jan 10, 2018
2 parents 57663b7 + 07e78d3 commit 9bf295f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion CRM/Event/Form/Task/Cancel.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function preProcess() {
public function buildQuickForm() {
CRM_Utils_System::setTitle(ts('Cancel Registration for Event Participation'));
$session = CRM_Core_Session::singleton();
$this->addDefaultButtons(ts('Continue'), 'done');
$this->addDefaultButtons(ts('Cancel Registrations'), 'done');
}

/**
Expand Down
3 changes: 0 additions & 3 deletions templates/CRM/Event/Form/Task/Cancel.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
*}
{* Confirmation of Cancel Registration *}
<div class="crm-block crm-form-block crm-event-cancel-form-block">
<div class="crm-submit-buttons">
{include file="CRM/common/formButtons.tpl" location="top"}
</div>
<div class="messages status no-popup">
<div class="icon inform-icon"></div>
<div>
Expand Down
3 changes: 0 additions & 3 deletions templates/CRM/Event/Form/Task/Delete.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
*}
{* Confirmation of participation deletes *}
<div class="crm-block crm-form-block crm-event-delete-form-block">
<div class="crm-submit-buttons">
{include file="CRM/common/formButtons.tpl" location="top"}
</div>
<div class="messages status no-popup">
<div class="icon inform-icon"></div>
<div>
Expand Down

0 comments on commit 9bf295f

Please sign in to comment.