loggedLevel is "AUTH_COOKIE".
[platal.git] / templates / skin / common.backtrace.tpl
index 436e923..7df0dee 100644 (file)
@@ -1,6 +1,6 @@
 {**************************************************************************}
 {*                                                                        *}
-{*  Copyright (C) 2003-2007 Polytechnique.org                             *}
+{*  Copyright (C) 2003-2008 Polytechnique.org                             *}
 {*  http://opensource.polytechnique.org/                                  *}
 {*                                                                        *}
 {*  This program is free software; you can redistribute it and/or modify  *}
 {*                                                                        *}
 {**************************************************************************}
 
-
+{foreach from=$backtraces key=bt_name item=trace}
+<div class="backtrace">
+  <h1>
+    {if $trace->error}<span style="color: #f00">{/if}
+    ExĂ©cution de {$bt_name}&nbsp;: {$trace->traces|@count} actions en {$trace->totaltime|string_format:"%.3f"}s (hover-me pour la trace)
+    {if $trace->error}</span>{/if}
+  </h1>
+  <div class="hide">
 {foreach item=query from=$trace->traces}
 {if $query.data}
 {assign var=cols value=$query.data[0]|@count}
@@ -66,5 +73,8 @@
 {/if}
 </table>
 {/foreach}
+</div>
+</div>
+{/foreach}
 
 {* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}