// change format percentage and add translations

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11789 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2011-12-27 12:59:51 +00:00
parent ed879df6f6
commit 0a16c5d0fd
3 changed files with 273 additions and 253 deletions
@@ -89,6 +89,8 @@
{$tr.$key}
{elseif isset($params.type) && $params.type == 'datetime'}
{$tr.$key}
{elseif isset($params.type) && $params.type == 'percent'}
{$tr.$key|string_format:"%.2f"} {l s='%'}
{* If type is 'editable', an input is created *}
{elseif isset($params.type) && $params.type == 'editable' && isset($tr.id)}
<input type="text" name="{$key}_{$tr.id}" value="{$tr.$key}" class="{$key}" />