templates/report/modules.html.ep
author Vincent Tondellier <tonton+hg@team1664.org>
Thu, 24 Sep 2015 01:49:55 +0200
changeset 75 e3912669678c
parent 36 703f1af889d1
permissions -rw-r--r--
Overhaul the repository link functionality - Fix regex (repositories with number or other characters were not accepted) - Url escape template arguments by default (the "do not escape" <%== $var %> markers can be used if needed) - Also support a generic repository type instead of only repotype:repopath in the configuration ($repotype:$repopath has priority over $repotype if both are defined) - Cache compiled templates

%= 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