X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Ftable-editor.tpl;h=c4b376db9f6788830263a6d6bce110ebdf8e2f7a;hb=8269d2d652f539cd06117bac1e51f4e2182520b4;hp=dd6704c9acbe57ddb7674f90ce1e48abd6018d26;hpb=c4271d388f03a6c7a9e6437908e206f98ce1354a;p=platal.git diff --git a/templates/table-editor.tpl b/templates/table-editor.tpl index dd6704c..c4b376d 100644 --- a/templates/table-editor.tpl +++ b/templates/table-editor.tpl @@ -24,11 +24,17 @@

{$title}

{if $list} - + - {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 +118,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}{if $t->sortfield eq $myvar}{if $t->sortdesc}{icon name="bullet_arrow_down"}{else}{icon name="bullet_arrow_up"}{/if}{/if}action