diff -r ca4fa5dc09da -r 9e95be0b1b8c templates/index.html.ep --- a/templates/index.html.ep Fri May 08 22:29:20 2015 +0200 +++ b/templates/index.html.ep Sat May 09 23:17:47 2015 +0200 @@ -5,8 +5,10 @@ Product Version - UserID UUID + % foreach my $extra_col(@$extra_columns) { + %= t th => $extra_col->{name} + % } Date @@ -14,11 +16,13 @@ %= t tr => begin %= t td => $crash->{product} %= t td => $crash->{version} - %= t td => $crash->{user} %= t td => (style => "font-family:monospace;") => begin %= link_to $crash->{uuid} => url_for('report', uuid => $crash->{uuid}) % end - %= t td => $crash->{date}->strftime("%F %T") + % foreach my $extra_col(@$extra_columns) { + %= t td => $crash->{$extra_col->{id}} + % } + %= t td => $crash->{date}->set_time_zone('UTC')->set_time_zone('local')->strftime("%F %T") % end % } % end