From 188bad9973065a435f6aba717b2e5983da4ed596 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Mon, 5 Oct 2015 20:56:34 -0400 Subject: [PATCH] CRM-16725 - Change preview button label/icon --- CRM/Contact/Form/Task/PDFLetterCommon.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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( -- 2.25.1