CRM-16725 - Change preview button label/icon
authorColeman Watts <coleman@civicrm.org>
Tue, 6 Oct 2015 00:56:34 +0000 (20:56 -0400)
committerColeman Watts <coleman@civicrm.org>
Thu, 8 Oct 2015 01:55:40 +0000 (21:55 -0400)
CRM/Contact/Form/Task/PDFLetterCommon.php

index 885b962ce2d50edf42783a5c41201e7c668cd145..a10e4a31c097045d731fd11588a2eb979b5d82f4 100644 (file)
@@ -173,15 +173,15 @@ class CRM_Contact_Form_Task_PDFLetterCommon {
     if ($form->get('action') != CRM_Core_Action::VIEW) {
       $buttons[] = array(
         'type' => 'submit',
-        'name' => $form->_single ? ts('Preview PDF') : ts('Preview PDFs'),
-        'subName' => 'preview',
-        'icon' => 'zoomin',
-        'isDefault' => FALSE,
+        'name' => $form->_single ? ts('Make PDF') : ts('Make PDFs'),
+        'isDefault' => TRUE,
       );
       $buttons[] = array(
         'type' => 'submit',
-        'name' => $form->_single ? ts('Make PDF') : ts('Make PDFs'),
-        'isDefault' => TRUE,
+        'name' => ts('Preview'),
+        'subName' => 'preview',
+        'icon' => 'search',
+        'isDefault' => FALSE,
       );
     }
     $buttons[] = array(