templates/groups/index.html.ep
changeset 88 c82f5589db11
child 100 4dae01f2beee
equal deleted inserted replaced
87:03caeafba2ff 88:c82f5589db11
       
     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   </tr>
       
    12 </thead>
       
    13 % foreach my $crash(@$crashs) {
       
    14   %= t tr => begin
       
    15     %= t td => begin
       
    16       %= link_to $crash->{title} => url_for('group', uuid => $crash->{uuid})
       
    17     % end
       
    18     %= t td => $crash->{crash_count}
       
    19     %= t td => $crash->{first_version}
       
    20     %= t td => $crash->{last_version}
       
    21     %= t td => $crash->{product_names}
       
    22   % end
       
    23 % }
       
    24 % end
       
    25 
       
    26 % if($pager->first_page != $pager->last_page) {
       
    27   %= bootstrap_pagination($pager->current_page, $pager->last_page);
       
    28 % }