Merge pull request #17078 from herbdool/ui-18
authorEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 14 May 2020 00:16:53 +0000 (12:16 +1200)
committerGitHub <noreply@github.com>
Thu, 14 May 2020 00:16:53 +0000 (12:16 +1200)
Ui 18

CRM/Price/BAO/PriceField.php

index bd7b6df0b0313902855ac2a6ccb35be4d278cf42..8f7cc8e1b5583919da0cec82c60771db685bfc01 100644 (file)
@@ -386,10 +386,10 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField {
             $opt['label'] = !empty($opt['label']) ? $opt['label'] . '<span class="crm-price-amount-label-separator">&nbsp;-&nbsp;</span>' : '';
             $preHelpText = $postHelpText = '';
             if (!empty($opt['help_pre'])) {
-              $preHelpText = '<span class="crm-price-amount-help-pre description">' . $opt['help_pre'] . '</span>';
+              $preHelpText = '<span class="crm-price-amount-help-pre description">' . $opt['help_pre'] . '</span><span class="crm-price-amount-help-pre-separator">:&nbsp;</span>';
             }
             if (!empty($opt['help_post'])) {
-              $postHelpText = '<span class="crm-price-amount-help-post description">' . $opt['help_post'] . '</span>';
+              $postHelpText = '<span class="crm-price-amount-help-post-separator">:&nbsp;</span><span class="crm-price-amount-help-post description">' . $opt['help_post'] . '</span>';
             }
             if (isset($taxAmount) && $invoicing) {
               if ($displayOpt == 'Do_not_show') {