templates/group/show.html.ep
changeset 105 d7258a3a926c
parent 88 c82f5589db11
equal deleted inserted replaced
104:b75005d8b002 105:d7258a3a926c
     3 <h2>Crashs for <%= $group->{title} %></h2>
     3 <h2>Crashs for <%= $group->{title} %></h2>
     4 
     4 
     5 %= t div => (class => 'tabbable') => begin
     5 %= t div => (class => 'tabbable') => begin
     6   %= t ul => (class => 'nav nav-tabs', id => 'report-tabs') => begin
     6   %= t ul => (class => 'nav nav-tabs', id => 'report-tabs') => begin
     7     %= t li => (class => 'active') => begin
     7     %= t li => (class => 'active') => begin
     8       %= t a => (href => '#stats', 'data-toggle' => 'tab') => 'Statistics'
     8       %= t a => (href => '#reports', 'data-toggle' => 'tab') => 'Reports'
     9     % end
     9     % end
    10     %= t li => begin
    10     %= t li => begin
    11       %= t a => (href => '#reports', 'data-toggle' => 'tab') => 'Reports'
    11       %= t a => (href => '#stats', 'data-toggle' => 'tab') => 'Statistics'
    12     % end
    12     % end
    13   % end
    13   % end
    14 
    14 
    15   %= t div => (class => 'tab-content') => begin
    15   %= t div => (class => 'tab-content') => begin
    16     %= t div => (class => 'tab-pane active', id => 'stats') => begin
    16     %= t div => (class => 'tab-pane active', id => 'reports') => begin
       
    17       %= include('reports/_list', crashs => $crashs, extra_columns => $extra_columns, pager => $pager);
       
    18     % end
       
    19     %= t div => (class => 'tab-pane', id => 'stats') => begin
    17       %= include('group/_stats', stats_by_product_and_version => $stats_by_product_and_version);
    20       %= include('group/_stats', stats_by_product_and_version => $stats_by_product_and_version);
    18     % end
       
    19     %= t div => (class => 'tab-pane', id => 'reports') => begin
       
    20       %= include('reports/_list', crashs => $crashs, extra_columns => $extra_columns, pager => $pager);
       
    21     % end
    21     % end
    22   % end
    22   % end
    23 % end
    23 % end