fix xss (#2060)
This commit is contained in:
@@ -6,17 +6,17 @@
|
||||
{% set currency = customer.currency %}
|
||||
|
||||
{% set params = {
|
||||
'%activity%': '<strong>' ~ stats.activityAmount ~ '</strong>',
|
||||
'%project%': '<strong>' ~ stats.projectAmount ~ '</strong>',
|
||||
'%customer%': '<strong>' ~ customer.name ~ '</strong>',
|
||||
'%records%': '<strong>' ~ stats.recordAmount ~ '</strong>',
|
||||
'%duration%': '<strong>' ~ stats.recordDuration|duration ~ '</strong>',
|
||||
'%rate%': '<strong>' ~ stats.recordRate|money(currency) ~ '</strong>',
|
||||
'%internal_rate%': '<strong>' ~ stats.recordInternalRate|money(currency) ~ '</strong>'
|
||||
'%activity%': stats.activityAmount,
|
||||
'%project%': stats.projectAmount,
|
||||
'%customer%': customer.name,
|
||||
'%records%': stats.recordAmount,
|
||||
'%duration%': stats.recordDuration|duration,
|
||||
'%rate%': stats.recordRate|money(currency),
|
||||
'%internal_rate%': stats.recordInternalRate|money(currency)
|
||||
} %}
|
||||
|
||||
<p>
|
||||
{{ 'admin_customer.short_stats'|trans(params)|raw }}
|
||||
{{ 'admin_customer.short_stats'|trans(params) }}
|
||||
{{ 'label.rate_internal'|trans }}: {{ stats.recordInternalRate|money(currency) }}.
|
||||
</p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user