Skip to content

Commit

Permalink
refs #40048, fixes smarty math function should be wrap on math modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
jimyhuang committed Mar 5, 2024
1 parent ac2477d commit 8a985b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/CRM/common/growth_sentence.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@
</a>
{/if}
{/if}
<span class="{$color}">{$verb} <span class="{$bigger}">{$growth|abs}%</span></span>
{capture assign="growth_abs"}{math equation="abs(x)" x=$growth}{/capture}
<span class="{$color}">{$verb} <span class="{$bigger}">{$growth_abs}%</span></span>
{/if}

0 comments on commit 8a985b9

Please sign in to comment.