Skip to content

Commit

Permalink
Merge pull request #11277 from mihaelmladenov/NDI-14-cancel-event-par…
Browse files Browse the repository at this point in the history
…ticipants

CRM-21426: Removed duplicate submit buttons on Cancel/Delete Event Participants
  • Loading branch information
colemanw authored Nov 15, 2017
2 parents ee933b1 + e430a93 commit 5734a49
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 5734a49

Please sign in to comment.