CRM-14870 - More consistent event form navigation
authorJKingsnorth <john@johnkingsnorth.co.uk>
Wed, 18 Jun 2014 10:51:19 +0000 (11:51 +0100)
committerJKingsnorth <john@johnkingsnorth.co.uk>
Wed, 18 Jun 2014 10:51:19 +0000 (11:51 +0100)
Update CSS and button text to provide a more consistent experience when
registering for events.

CRM/Event/Form/Registration/Confirm.php
css/civicrm.css

index f5946e31e3948b1c4ee900606cdb1a414d177e65..1a25aa1ed0af299110e3077d01b632ca2bc95955 100644 (file)
@@ -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' => '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;',
-            'name' => ts('Go Back'),
-          ),
         )
       );
     }
index 3e9bcd386832b3a13ea19a7c355fd15f2b8ad8fe..0d69e51b21acade55c674a3d214a90511fbec781 100644 (file)
@@ -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");