diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2015-10-16 19:23:58 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2015-10-19 17:22:51 +0300 |
commit | 7cb8055ae0e5c709383fe855850376a8cd5ed306 (patch) | |
tree | 98f87c37d0b2992f678ba05877c1c7ef35ae1176 /plugins/Ecommerce | |
parent | 62fc5558bb5211eccfffec40b2723ed49121ac70 (diff) |
Apply number formatting changes from master to 3.X branch
Diffstat (limited to 'plugins/Ecommerce')
-rw-r--r-- | plugins/Ecommerce/templates/getSparklines.twig | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Ecommerce/templates/getSparklines.twig b/plugins/Ecommerce/templates/getSparklines.twig index e8e07f47d5..5e56ad868f 100644 --- a/plugins/Ecommerce/templates/getSparklines.twig +++ b/plugins/Ecommerce/templates/getSparklines.twig @@ -1,6 +1,6 @@ <div id='leftcolumn' style="clear:both;{% if not isWidget %}width:33%;'{% endif %}"> <div class="sparkline">{{ sparkline(urlSparklineConversions) }} - <strong>{{ nb_conversions }}</strong> + <strong>{{ nb_conversions|number }}</strong> {{ 'General_EcommerceOrders'|translate }} <img src='plugins/Morpheus/images/ecommerceOrder.gif'> @@ -23,10 +23,10 @@ <div id='leftcolumn' {% if not isWidget %}style='width:33%;'{% endif %}> <div class="sparkline">{{ sparkline(urlSparklineConversionRate) }} {% set ecommerceOrdersText %}{{ 'General_EcommerceOrders'|translate }}{% endset %} - {{ 'Goals_ConversionRate'|translate("<strong>"~conversion_rate~"</strong> "~ecommerceOrdersText)|raw }} + {{ 'Goals_ConversionRate'|translate("<strong>"~conversion_rate|percent~"</strong> "~ecommerceOrdersText)|raw }} </div> <div class="sparkline">{{ sparkline(urlSparklinePurchasedProducts) }} - <strong>{{ items }}</strong> {{ 'General_PurchasedProducts'|translate }}</div> + <strong>{{ items|number }}</strong> {{ 'General_PurchasedProducts'|translate }}</div> </div> <div id='rightcolumn' {% if not isWidget %}style='width:30%;'{% endif %}> <div> @@ -36,7 +36,7 @@ <div class="sparkline"> {{ sparkline(cart_urlSparklineConversions) }} {% set ecommerceAbandonedCartsText %}{{ 'Goals_AbandonedCart'|translate }}{% endset %} - <strong>{{ cart_nb_conversions }}</strong> {{ 'General_VisitsWith'|translate(ecommerceAbandonedCartsText) }} + <strong>{{ cart_nb_conversions|number }}</strong> {{ 'General_VisitsWith'|translate(ecommerceAbandonedCartsText) }} </div> <div class="sparkline"> @@ -48,7 +48,7 @@ <div class="sparkline"> {{ sparkline(cart_urlSparklineConversionRate) }} - <strong>{{ cart_conversion_rate }}</strong> + <strong>{{ cart_conversion_rate|percent }}</strong> {{ 'General_VisitsWith'|translate(ecommerceAbandonedCartsText) }} </div> </div> |