templates/report/modules.html.ep
author Vincent Tondellier <tonton+hg@team1664.org>
Fri, 08 Aug 2014 23:05:03 +0200
changeset 41 f2292404519a
parent 36 703f1af889d1
permissions -rw-r--r--
Display more crashs in the Atom feed than on the webpage There is a better way to sniff content type, but it's only available in newer mojolicious versions

%= t table => (class => 'table table-striped table-hover table-bordered table-condensed') => begin
<thead>
  <tr>
    <th>Filename</th>
    <th>Version</th>
    <th>Debug Identifier</th>
    <th>Debug Filename</th>
  </tr>
</thead>
% foreach my $module(@$modules) {
  %= t tr => begin
    %= t td => $module->{filename}
    %= t td => $module->{version}
    %= t td => $module->{debug_id}
    %= t td => $module->{debug_file}
  % end
% }
% end