From 4f6a6e871ce81af7fac9988e354007720d0b835f Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Tue, 12 Oct 2010 11:47:07 +0200 Subject: [PATCH] Use explicit click on the trace to toggle its visibility. Kill the long standing "Hover me pour la trace". This was pretty cool a few years ago, but it tends not to work as well as it used to do with modern browsers. Signed-off-by: Florent Bruneau --- templates/backtrace.tpl | 39 +++++++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/templates/backtrace.tpl b/templates/backtrace.tpl index 9c3583c..a476ef8 100644 --- a/templates/backtrace.tpl +++ b/templates/backtrace.tpl @@ -20,39 +20,58 @@ {* *} {**************************************************************************} + + {foreach from=$backtraces key=bt_name item=trace}

{if $trace->error}{/if} - Exécution de {$bt_name} : {$trace->traces|@count} actions en {$trace->totaltime|string_format:"%.3f"}s (hover-me pour la trace) + Exécution de {$bt_name} : + {$trace->traces|@count} actions en {$trace->totaltime|string_format:"%.3f"}s + (click to show/hide the trace) {if $trace->error}{/if}

-
+