| author | Vincent Tondellier <tonton+hg@team1664.org> |
| Sun, 14 Feb 2016 20:12:49 +0100 | |
| changeset 93 | 31013a09b483 |
| parent 88 | c82f5589db11 |
| child 100 | 4dae01f2beee |
| permissions | -rw-r--r-- |
|
88
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
1 |
% title 'Top crashs'; |
|
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
2 |
% layout 'main'; |
|
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
3 |
%= t table => (class => 'table table-striped table-hover table-bordered table-condensed') => begin |
|
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
4 |
<thead> |
|
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
5 |
<tr> |
|
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
6 |
<th>Title</th> |
|
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
7 |
<th>Count</th> |
|
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
8 |
<th>First version seen</th> |
|
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
9 |
<th>Last version seen</th> |
|
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
10 |
<th>Products</th> |
|
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
11 |
</tr> |
|
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
12 |
</thead> |
|
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
13 |
% foreach my $crash(@$crashs) {
|
|
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
14 |
%= t tr => begin |
|
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
15 |
%= t td => begin |
|
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
16 |
%= link_to $crash->{title} => url_for('group', uuid => $crash->{uuid})
|
|
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
17 |
% end |
|
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
18 |
%= t td => $crash->{crash_count}
|
|
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
19 |
%= t td => $crash->{first_version}
|
|
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
20 |
%= t td => $crash->{last_version}
|
|
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
21 |
%= t td => $crash->{product_names}
|
|
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
22 |
% end |
|
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
23 |
% } |
|
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
24 |
% end |
|
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
25 |
|
|
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
26 |
% if($pager->first_page != $pager->last_page) {
|
|
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
27 |
%= bootstrap_pagination($pager->current_page, $pager->last_page); |
|
c82f5589db11
Add first cut of the crash grouping feature
Vincent Tondellier <tonton+hg@team1664.org>
parents:
diff
changeset
|
28 |
% } |