From: Coleman Watts Date: Tue, 6 Oct 2015 00:56:34 +0000 (-0400) Subject: CRM-16725 - Change preview button label/icon X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=188bad9973065a435f6aba717b2e5983da4ed596;p=civicrm-core.git CRM-16725 - Change preview button label/icon --- diff --git a/CRM/Contact/Form/Task/PDFLetterCommon.php b/CRM/Contact/Form/Task/PDFLetterCommon.php index 885b962ce2..a10e4a31c0 100644 --- a/CRM/Contact/Form/Task/PDFLetterCommon.php +++ b/CRM/Contact/Form/Task/PDFLetterCommon.php @@ -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(