templates/group/show.html.ep
author Vincent Tondellier <tonton+hg@team1664.org>
Sat, 20 Feb 2016 18:36:00 +0100
changeset 107 6f411821b12b
parent 105 d7258a3a926c
permissions -rw-r--r--
Fix syntax in the example config

% 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 => '#reports', 'data-toggle' => 'tab') => 'Reports'
    % end
    %= t li => begin
      %= t a => (href => '#stats', 'data-toggle' => 'tab') => 'Statistics'
    % end
  % end

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