equal
deleted
inserted
replaced
1 % title 'Top crashs'; |
|
2 % layout 'main'; |
|
3 %= t table => (class => 'table table-striped table-hover table-bordered table-condensed') => begin |
|
4 <thead> |
|
5 <tr> |
|
6 <th>Title</th> |
|
7 <th>Count</th> |
|
8 <th>First version seen</th> |
|
9 <th>Last version seen</th> |
|
10 <th>Products</th> |
|
11 % foreach my $extra_col(@$extra_columns) { |
|
12 %= t th => $extra_col->{name} |
|
13 % } |
|
14 </tr> |
|
15 </thead> |
|
16 % foreach my $crash(@$crashs) { |
|
17 %= t tr => begin |
|
18 %= t td => begin |
|
19 %= link_to $crash->{title} => url_for('group', uuid => $crash->{uuid}) |
|
20 % end |
|
21 %= t td => $crash->{crash_count} |
|
22 %= t td => $crash->{first_version} |
|
23 %= t td => $crash->{last_version} |
|
24 %= t td => $crash->{product_names} |
|
25 % foreach my $extra_col(@$extra_columns) { |
|
26 %= t td => $crash->{$extra_col->{id}} |
|
27 % } |
|
28 % end |
|
29 % } |
|
30 % end |
|
31 |
|
32 % if($pager->first_page != $pager->last_page) { |
|
33 %= bootstrap_pagination($pager->current_page, $pager->last_page); |
|
34 % } |
|