Skip to content

Commit

Permalink
finish adding description class to help pre and help post
Browse files Browse the repository at this point in the history
  • Loading branch information
seamuslee001 committed Jun 20, 2016
1 parent e8c9271 commit 2709983
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CRM/Price/BAO/PriceField.php
Original file line number Diff line number Diff line change
Expand Up @@ -531,9 +531,9 @@ public static function addQuickFormElement(

if ($field->is_display_amounts) {
$pre_help = isset($opt['help_pre']) ?
'<span class="crm-price-amount-help-pre">' . $opt['help_pre'] . '</span>: ' : '';
'<span class="crm-price-amount-help-pre description">' . $opt['help_pre'] . '</span>: ' : '';
$post_help = isset($opt['help_post']) ?
': <span class="crm-price-amount-help-post">' . $opt['help_post'] . '</span>' : '';
': <span class="crm-price-amount-help-post description">' . $opt['help_post'] . '</span>' : '';
$opt['label'] = '<span class="crm-price-amount-label">' . $opt['label'] . '</span>&nbsp;-&nbsp;';
if (isset($taxAmount) && $invoicing) {
$opt['label'] .= $pre_help . self::getTaxLabel($opt, $valueFieldName, $displayOpt, $taxTerm) . $post_help;
Expand Down

0 comments on commit 2709983

Please sign in to comment.