templates/group/show.html.ep
author Vincent Tondellier <tonton+hg@team1664.org>
Mon, 28 Dec 2015 23:08:23 +0100
changeset 88 c82f5589db11
child 105 d7258a3a926c
permissions -rw-r--r--
Add first cut of the crash grouping feature

% title "Crash for \"$group->{title}\"";
% layout 'main';
<h2>Crashs for <%= $group->{title} %></h2>

%= t div => (class => 'tabbable') => begin
  %= t ul => (class => 'nav nav-tabs', id => 'report-tabs') => begin
    %= t li => (class => 'active') => begin
      %= t a => (href => '#stats', 'data-toggle' => 'tab') => 'Statistics'
    % end
    %= t li => begin
      %= t a => (href => '#reports', 'data-toggle' => 'tab') => 'Reports'
    % end
  % end

  %= t div => (class => 'tab-content') => begin
    %= t div => (class => 'tab-pane active', id => 'stats') => begin
      %= include('group/_stats', stats_by_product_and_version => $stats_by_product_and_version);
    % end
    %= t div => (class => 'tab-pane', id => 'reports') => begin
      %= include('reports/_list', crashs => $crashs, extra_columns => $extra_columns, pager => $pager);
    % end
  % end
% end