// change format percentage and add translations
This commit is contained in:
1 parent
d1d6aee417
commit
d430fa98d6
3 files changed
+273
-253
No files matched your search
@@ -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}" />
|
||||
|
||||
Reference in new issue
Block a user