X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Ftable-editor.tpl;h=cfa08e9edbc5dfe4eb5940ab8eed50becc85b9d0;hb=a38287878bf37b4a39120dceb82877b3e1d99303;hp=dd6704c9acbe57ddb7674f90ce1e48abd6018d26;hpb=c4271d388f03a6c7a9e6437908e206f98ce1354a;p=platal.git diff --git a/templates/table-editor.tpl b/templates/table-editor.tpl index dd6704c..cfa08e9 100644 --- a/templates/table-editor.tpl +++ b/templates/table-editor.tpl @@ -27,8 +27,8 @@ - {foreach from=$t->vars item=myval}{if $myval.display} - + {foreach from=$t->vars item=myval key=myvar}{if $myval.display} + {/if}{/foreach} {if !$hideactions} @@ -112,6 +112,7 @@ {else} {if $myval.Type eq 'timestamp'}jj/mm/aaaa hh:mm:ss{/if} + {if $myval.Type eq 'date'}jj/mm/aaaa{/if} {if $myval.Type eq 'time'}hh:mm:ss{/if} {/if}
{$myval.desc}{$myval.desc}action