equal
deleted
inserted
replaced
5 <tr> |
5 <tr> |
6 <th>Product</th> |
6 <th>Product</th> |
7 <th>Version</th> |
7 <th>Version</th> |
8 <th>UUID</th> |
8 <th>UUID</th> |
9 % foreach my $extra_col(@$extra_columns) { |
9 % foreach my $extra_col(@$extra_columns) { |
10 %= t th => $extra_col->{name} |
10 %= t th => $extra_col->{name} |
11 % } |
11 % } |
12 <th>Date</th> |
12 <th>Date</th> |
13 </tr> |
13 </tr> |
14 </thead> |
14 </thead> |
15 % foreach my $crash(@$files) { |
15 % foreach my $crash(@$crashs) { |
16 %= t tr => begin |
16 %= t tr => begin |
17 %= t td => $crash->{product} |
17 %= t td => $crash->{p_name} |
18 %= t td => $crash->{version} |
18 %= t td => ($crash->{p_version} or "") |
19 %= t td => (style => "font-family:monospace;") => begin |
19 %= t td => (style => "font-family:monospace;") => begin |
20 %= link_to $crash->{uuid} => url_for('report', uuid => $crash->{uuid}) |
20 %= link_to $crash->{uuid} => url_for('report', uuid => $crash->{uuid}) |
21 % end |
21 % end |
22 % foreach my $extra_col(@$extra_columns) { |
22 % foreach my $extra_col(@$extra_columns) { |
23 %= t td => $crash->{$extra_col->{id}} |
23 %= t td => $crash->{$extra_col->{id}} |
24 % } |
24 % } |
25 %= t td => $crash->{date}->set_time_zone('UTC')->set_time_zone('local')->strftime("%F %T") |
25 %= t td => date_from_db_utc($crash->{crash_time}) |
26 % end |
26 % end |
27 % } |
27 % } |
28 % end |
28 % end |
|
29 |
29 % if($pager->first_page != $pager->last_page) { |
30 % if($pager->first_page != $pager->last_page) { |
30 %= bootstrap_pagination($pager->current_page, $pager->last_page); |
31 %= bootstrap_pagination($pager->current_page, $pager->last_page); |
31 % } |
32 % } |