From f2ce2ad2b86f6b0525ec1b44706939df465f217e Mon Sep 17 00:00:00 2001 From: JKingsnorth Date: Wed, 18 Jun 2014 11:51:19 +0100 Subject: [PATCH] CRM-14870 - More consistent event form navigation Update CSS and button text to provide a more consistent experience when registering for events. --- CRM/Event/Form/Registration/Confirm.php | 11 +++++------ css/civicrm.css | 5 +++++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/CRM/Event/Form/Registration/Confirm.php b/CRM/Event/Form/Registration/Confirm.php index f5946e31e3..1a25aa1ed0 100644 --- a/CRM/Event/Form/Registration/Confirm.php +++ b/CRM/Event/Form/Registration/Confirm.php @@ -315,19 +315,18 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration { ); } else { - $contribButton = ts('Continue'); + $contribButton = ts('Continue >>'); $this->addButtons(array( + array( + 'type' => 'back', + 'name' => ts('<< Go Back'), + ), array( 'type' => 'next', 'name' => $contribButton, 'isDefault' => TRUE, 'js' => array('onclick' => "return submitOnce(this,'" . $this->_name . "','" . ts('Processing') . "');"), ), - array( - 'type' => 'back', - 'spacing' => '      ', - 'name' => ts('Go Back'), - ), ) ); } diff --git a/css/civicrm.css b/css/civicrm.css index 3e9bcd3868..0d69e51b21 100644 --- a/css/civicrm.css +++ b/css/civicrm.css @@ -4007,6 +4007,11 @@ div.m ul#civicrm-menu, font-size: 1.2em; } +/* Match font size on 'Continue' button on event participant form (no specific class) */ +#crm-container .crm-event-additionalparticipant-form-block span.crm-button input.form-submit.default { + font-size: 1.2em; +} + /* jQuery UI styles */ .crm-container .ui-progressbar-value { background-image: url("../packages/jquery/css/images/pbar-ani.gif"); -- 2.25.1