Move current label to description and add shorter label in
authorSeamus Lee <seamuslee001@gmail.com>
Tue, 27 Sep 2016 07:56:24 +0000 (17:56 +1000)
committerSeamus Lee <seamuslee001@gmail.com>
Tue, 27 Sep 2016 07:56:24 +0000 (17:56 +1000)
CRM/Admin/Form/PaymentProcessor.php
templates/CRM/Admin/Form/PaymentProcessor.tpl

index c29daa5b71b5bb919a6ba30dbd3ab8c840b47474..2f0fd1a15f9b88f0559760cb43affb4fada6c99a 100644 (file)
@@ -212,7 +212,7 @@ class CRM_Admin_Form_PaymentProcessor extends CRM_Admin_Form {
     $this->add('checkbox', 'is_active', ts('Is this Payment Processor active?'));
     $this->add('checkbox', 'is_default', ts('Is this Payment Processor the default?'));
     $creditCardTypes = CRM_Contribute_PseudoConstant::creditCard();
-    $this->addCheckBox('accept_credit_cards', ts('Select Credit Card Types that this payment processor can accept'),
+    $this->addCheckBox('accept_credit_cards', ts('Accepted Credit Card Type(s)'),
       $creditCardTypes, NULL, NULL, NULL, NULL, '&nbsp;&nbsp;&nbsp;');
     foreach ($this->_fields as $field) {
       if (empty($field['label'])) {
index c4f276ccba1f12210281c160ec0b995435133d5f..b813ff456ba6ab264357d82a98528bca21c7ae36 100644 (file)
@@ -66,7 +66,8 @@
         <td></td><td>{$form.is_default.html}&nbsp;{$form.is_default.label}</td>
     </tr>
     <tr class="crm-paymentProcessor-form-block-accept_credit_cards">
-        <td class="label">{$form.accept_credit_cards.label}</td><td>{$form.accept_credit_cards.html}</td>
+        <td class="label">{$form.accept_credit_cards.label}</td><td>{$form.accept_credit_cards.html}<br />
+        <span class="description">{ts}Select Credit Card Types that this payment processor can accept{/ts}</span></td>
     </tr>
   </table>
 <fieldset>