diff -r e621317229f7 -r 1a1cf5c35cfb templates/report/backtrace.html.ep
--- a/templates/report/backtrace.html.ep Wed Jul 30 23:49:59 2014 +0200
+++ b/templates/report/backtrace.html.ep Thu Jul 31 00:05:00 2014 +0200
@@ -4,8 +4,15 @@
All threads
+ % my $thread_id = 0;
% foreach my $thread(@$threads) {
- %= include 'report/backtrace/frames', frames => $thread->{frames}
+ %= t a => ( 'data-toggle' => "collapse", href => "#backtrace-thread-$thread_id" ) => begin
+ %= t h4 => "Thread $thread_id"
+ % end
+ %= t div => ( id => "backtrace-thread-$thread_id", class => "collapse in" ) => begin
+ %= include 'report/backtrace/frames', frames => $thread->{frames}
+ % $thread_id = $thread_id + 1;
+ % end
% }