templates/groups/index.html.ep
author Vincent Tondellier <tonton+hg@team1664.org>
Wed, 30 Dec 2015 19:57:32 +0100
changeset 90 6f091abdf5fb
parent 88 c82f5589db11
child 100 4dae01f2beee
permissions -rw-r--r--
Fix function shortening for complex cases, like: std::basic_ostream<A, B>& operator<< <A, B >(std::basic_ostream<A, B>&, T const&)

% title 'Top crashs';
% layout 'main';
%= t table => (class => 'table table-striped table-hover table-bordered table-condensed') => begin
<thead>
  <tr>
    <th>Title</th>
    <th>Count</th>
    <th>First version seen</th>
    <th>Last version seen</th>
    <th>Products</th>
  </tr>
</thead>
% foreach my $crash(@$crashs) {
  %= t tr => begin
    %= t td => begin
      %= link_to $crash->{title} => url_for('group', uuid => $crash->{uuid})
    % end
    %= t td => $crash->{crash_count}
    %= t td => $crash->{first_version}
    %= t td => $crash->{last_version}
    %= t td => $crash->{product_names}
  % end
% }
% end

% if($pager->first_page != $pager->last_page) {
  %= bootstrap_pagination($pager->current_page, $pager->last_page);
% }